Quellcode durchsuchen

add 一个圈圈

master
DengBiao vor 11 Monaten
Ursprung
Commit
226bd1338b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      rule/one_circles/one_circles_public_platoon_give_activty_coin.go

+ 1
- 1
rule/one_circles/one_circles_public_platoon_give_activty_coin.go Datei anzeigen

@@ -130,7 +130,7 @@ func SettlementPublicGiveActivityCoin(engine *xorm.Engine, masterId string, uid
// CalcUserContinuousDailyActivityDays 计算用户连续活跃天数
func CalcUserContinuousDailyActivityDays(engine *xorm.Engine, masterId string, uid int, startDate string, endDate string) (err error, days int, isContinuousDailyActivity bool) {
var list []model.OneCirclesGreenEnergySignIn
err = engine.Where("start_time <= ?", startDate).And("uid =?", uid).Find(&list)
err = engine.Where("start_time >= ?", startDate).And("uid =?", uid).Find(&list)
if err != nil {
fmt.Println("err:::::1111", err)
return


Laden…
Abbrechen
Speichern