huangjiajun 5 miesięcy temu
rodzic
commit
1fb24f6e50
1 zmienionych plików z 0 dodań i 9 usunięć
  1. +0
    -9
      rule/happy_orchard/happy_orchard_give_water.go

+ 0
- 9
rule/happy_orchard/happy_orchard_give_water.go Wyświetl plik

@@ -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)


Ładowanie…
Anuluj
Zapisz