Commit 77c6d19771c65d4854146d921913de3a4270468c

Authored by 李旭
1 parent f0474960
Exists in master

每日金币次数最多20次

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/HttpServer/logic/function.go
... ... @@ -323,8 +323,8 @@ func AddCoinToTouTiao(openid string, deviceid, amount int, descr string, btype s
323 323 logger.Error("AddCoinToTouTiao checkTodayAddCoinCount err=%v", err)
324 324 }
325 325  
326   - if ttnums > 50 {
327   - err := errors.New(fmt.Sprintf("ttnums > 50::%d", ttnums))
  326 + if ttnums > 20 {
  327 + err := errors.New(fmt.Sprintf("ttnums > 20::%d", ttnums))
328 328 logger.Error("AddCoinToTouTiao ttnums err=%v", err)
329 329 return 0, 0, gold_coin_extra_add, gold_coin_extra_limit, err
330 330 }
... ...