Browse Source

update

master
dengbiao 5 months ago
parent
commit
6dfe5e4570
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      rule/one_circles/one_circles_auto_release_green_energy.go

+ 5
- 0
rule/one_circles/one_circles_auto_release_green_energy.go View File

@@ -82,6 +82,11 @@ func AutoReleaseExchangeGreenEnergy(engine *xorm.Engine, masterId string) (err e
Uid: v.Uid, Uid: v.Uid,
Amount: settlementQuantityAmount, Amount: settlementQuantityAmount,
}) })
if err != nil {
_ = session.Rollback()
fmt.Println("err:::::22222", err)
continue
}


//4.2给相应的用户减少个人的绿色积分(结算数量) //4.2给相应的用户减少个人的绿色积分(结算数量)
err = rule.DealUserCoin(session, md.DealUserCoinReq{ err = rule.DealUserCoin(session, md.DealUserCoinReq{


Loading…
Cancel
Save