huangjiajun 3 mesi fa
parent
commit
1fb24f6e50
1 ha cambiato i file con 0 aggiunte e 9 eliminazioni
  1. +0
    -9
      rule/happy_orchard/happy_orchard_give_water.go

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

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


Caricamento…
Annulla
Salva