Commit eac54be1 authored by zhaofei's avatar zhaofei

s

parent 34d4b333
...@@ -416,7 +416,12 @@ export default class ActivityConfigService { ...@@ -416,7 +416,12 @@ export default class ActivityConfigService {
formatPrizeConfig(prizeConfig: Array<IActivityPrize>) { formatPrizeConfig(prizeConfig: Array<IActivityPrize>) {
// level 根据level排序 // level 根据level排序
let prizeList = prizeConfig.sort((a, b) => a.level - b.level) let prizeList = prizeConfig.sort((a, b) => a.level - b.level)
const poolConfig = <%- JSON.stringify(activityConfigList) %> const poolConfig = <%- JSON.stringify(activityConfigList).map(item=>{
const data = {
}
return data
}) %>
// 取出奖池 // 取出奖池
let prizeData = {} let prizeData = {}
poolConfig.forEach(item => { 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