|
|
@@ -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;
|
|
|
}
|