shawenguan hace 1 año
padre
commit
70b41e2289
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Scripts/hbcpre/hbcpreComposite.js

+ 2 - 1
Scripts/hbcpre/hbcpreComposite.js

@@ -111,7 +111,7 @@ async function tryComposite() {
         let needList = activityData.needList;
         // 个人拥有材料列表
         let ownList = activityData.ownList;
-        // ownList = checkHandleMyOwnList(activityData.ownList, needList);
+        ownList = checkHandleMyOwnList(activityData.ownList, needList);
         let isEnough = true;
         for (let i = 0; i < ownList.length; i++) {
             let iData = ownList[i];
@@ -320,6 +320,7 @@ async function getCompositeList(id){
 
 async function startComposite(id, materials){
     let reqData = {eventsId: `${id}`, materials: materials};
+    magicJS.logger.error(JSON.stringify(reqData));
     let result = await hbRequest({API: '/mall/works/composite', METHOD: 'post'}, reqData);
     return result;
 }