Commit 1004c8b3 authored by zhaofei's avatar zhaofei

s

parent dab8aa92
......@@ -416,16 +416,7 @@ export default class ActivityConfigService {
formatPrizeConfig(prizeConfig: Array<IActivityPrize>) {
// level 根据level排序
let prizeList = prizeConfig.sort((a, b) => a.level - b.level)
const poolConfig = <%- JSON.stringify(activityConfigList).map(item=>{
const data = {
key: item.key,
conditionKeys:item.conditionKeys,
name:item.name,
prizeDataType:item.prizeDataType,
sort: item.sort
}
return data
}) %>
const poolConfig = <%- JSON.stringify(formatPrize) %>
// 取出奖池
let prizeData = {}
poolConfig.forEach(item => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment