Browse Source

更新

master
huangjiajun 5 months ago
parent
commit
1fb24f6e50
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      rule/happy_orchard/happy_orchard_give_water.go

+ 0
- 9
rule/happy_orchard/happy_orchard_give_water.go View File

@@ -29,15 +29,6 @@ func HappyOrchardGiveWater(eg *xorm.Engine, masterId string, uid int, isMultiple
err = errors.New("视屏奖励机制设置未完全!") err = errors.New("视屏奖励机制设置未完全!")
return 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 记录 //增加 one_circles_user_watch_records 记录
NewHappyOrchardUserWatchRecordsDb := implement.NewHappyOrchardUserWatchRecordsDb(eg) NewHappyOrchardUserWatchRecordsDb := implement.NewHappyOrchardUserWatchRecordsDb(eg)
UserWatchRecords, _ := NewHappyOrchardUserWatchRecordsDb.GetHappyOrchardUserWatchRecords(uid) UserWatchRecords, _ := NewHappyOrchardUserWatchRecordsDb.GetHappyOrchardUserWatchRecords(uid)


Loading…
Cancel
Save