Эх сурвалжийг харах

Merge branch 'hotfix/v4.9.2.1_ws' of qmx/jy into hotfix/v4.9.2.1

wangshan 1 жил өмнө
parent
commit
bee682bdf3

+ 1 - 0
src/jfw/modules/publicapply/src/activityday/dao/drawLottery.go

@@ -140,6 +140,7 @@ func (r *RaffleInfo) DistributePrize() (err error) {
 					orderCode, err = r.InsertDataOrder(tx, jyPrize)
 					orderCode, err = r.InsertDataOrder(tx, jyPrize)
 				} else {
 				} else {
 					//TODO: 剑鱼币 奖励---------------------
 					//TODO: 剑鱼币 奖励---------------------
+					time.Sleep(1 * time.Second) //休眠一秒,和 扣除剑鱼币时间拉开,否则查询剑鱼币明细 根据时间排序 奖励在消费前面--临时处理办法
 					if err = r.PointHarvest(common.Int64All(r.Prize.JyPrize)); err != nil {
 					if err = r.PointHarvest(common.Int64All(r.Prize.JyPrize)); err != nil {
 						r.Steps = consts.Steps5
 						r.Steps = consts.Steps5
 					}
 					}