Commit 65eff707 authored by chenweijian's avatar chenweijian

月度排行发奖

parent 9ceeee92
......@@ -275,6 +275,7 @@ func getAwardAndLogList(model *domain.Model, powerIds []uint64, items []group_po
Award: string(oAwardJ),
})
awardList = append(awardList, &award_tx.UserAward{
UserId: ownerId,
MedalId: oAward.MedalId,
MedalDuration: oAward.MedalDay,
Diamond: oAward.Diamond,
......@@ -305,6 +306,7 @@ func getAwardAndLogList(model *domain.Model, powerIds []uint64, items []group_po
Award: string(mAwardJ),
})
awardList = append(awardList, &award_tx.UserAward{
UserId: m.User.Id,
MedalId: mAward.MedalId,
MedalDuration: mAward.MedalDay,
Diamond: mAward.Diamond,
......
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