|
|
@@ -106,9 +106,7 @@ async function all() {
|
|
|
const outActivityCode = cateActivityData.outActivityCode;
|
|
|
cateItemDict[outActivityCode] = cateActivityData;
|
|
|
}
|
|
|
- lk.log('#test#0');
|
|
|
let allBuyEntries = getWillMarketBuyListAll();
|
|
|
- lk.log(JSON.stringify(allBuyEntries));
|
|
|
let allRetList = [];
|
|
|
for (let i in allBuyEntries) {
|
|
|
const cateType = allBuyEntries[i][0];
|
|
|
@@ -265,7 +263,6 @@ function getWillMarketBuyListAll() {
|
|
|
let buyRetDict = {};
|
|
|
let buyConfStr = lk.getVal(key, defVal);
|
|
|
let keySortArr = [];
|
|
|
- lk.log('#test#01');
|
|
|
if (!lk.isEmpty(buyConfStr)) {
|
|
|
buyRetDict = {};
|
|
|
let items = buyConfStr.trim().split('|');
|
|
|
@@ -282,12 +279,10 @@ function getWillMarketBuyListAll() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- lk.log('#test#11');
|
|
|
let buyRetEntries = [];
|
|
|
for (let key of keySortArr) {
|
|
|
- buyRetEntries.push([key, buyRetDict[cateTypeKey]])
|
|
|
+ buyRetEntries.push([key, buyRetDict[key]])
|
|
|
}
|
|
|
- lk.log('#test#12');
|
|
|
return buyRetEntries;
|
|
|
}
|
|
|
|