huangjiajun pirms 5 mēnešiem
vecāks
revīzija
1fb24f6e50
1 mainītis faili ar 0 papildinājumiem un 9 dzēšanām
  1. +0
    -9
      rule/happy_orchard/happy_orchard_give_water.go

+ 0
- 9
rule/happy_orchard/happy_orchard_give_water.go Parādīt failu

@@ -29,15 +29,6 @@ func HappyOrchardGiveWater(eg *xorm.Engine, masterId string, uid int, isMultiple
err = errors.New("视屏奖励机制设置未完全!")
return
}
var rewardSystem []*md2.HappyOrchardVideoRewardSystemStruct
err = json.Unmarshal([]byte(base.VideoRewardSystem), &rewardSystem)
if err != nil {
return
}
if len(rewardSystem) == 0 {
err = errors.New("未设置奖励机制!")
return
}
//增加 one_circles_user_watch_records 记录
NewHappyOrchardUserWatchRecordsDb := implement.NewHappyOrchardUserWatchRecordsDb(eg)
UserWatchRecords, _ := NewHappyOrchardUserWatchRecordsDb.GetHappyOrchardUserWatchRecords(uid)


Notiek ielāde…
Atcelt
Saglabāt