Commit 4f67af43 authored by maggie's avatar maggie

排行榜开奖加入ename

parent 76921e2d
......@@ -346,7 +346,7 @@ export default class AwardsService extends UserService {
)
const prizeList = []
prizeConfigList.forEach(prizeConfig => {
const { rank, _id: prizeId, type, name, image, credits } = prizeConfig
const { rank, _id: prizeId, type, name, ename, image, credits } = prizeConfig
let [min, max] = rank.split('-')
if (!max) max = min
for (let i = +min - 1; i < +max; i++) {
......@@ -360,6 +360,7 @@ export default class AwardsService extends UserService {
prizeDataType,
remark: '',
credits: +credits,
ename,
type,
name,
image,
......
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