Browse Source

update 一个圈圈

master
DengBiao 9 months ago
parent
commit
35083f608d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/one_circles/one_circles_sign_in_green_energy_settlement.go

+ 1
- 1
rule/one_circles/one_circles_sign_in_green_energy_settlement.go View File

@@ -20,7 +20,6 @@ import (

// SettlementSignInGreenEnergy 计算签到得到绿色能量
func SettlementSignInGreenEnergy(engine *xorm.Engine, masterId string, ch *rabbit.Channel) (err error) {
defer ch.Release()
//1、查找 `one_circles_green_energy_basic_setting` 基础设置
oneCirclesGreenEnergyBasicSetting, err := db.OneCirclesGreenEnergyBasicSettingGetOneByParams(engine, map[string]interface{}{
"key": "is_open",
@@ -55,6 +54,7 @@ func SettlementSignInGreenEnergy(engine *xorm.Engine, masterId string, ch *rabbi
Id: v.Id,
}, md.OneCirclesRoutKeyForSignIn)
}
page++
time.Sleep(time.Millisecond * time.Duration(rand.Intn(1000)))
}



Loading…
Cancel
Save