|
|
@@ -82,6 +82,11 @@ func AutoReleaseExchangeGreenEnergy(engine *xorm.Engine, masterId string) (err e |
|
|
|
Uid: v.Uid, |
|
|
|
Amount: settlementQuantityAmount, |
|
|
|
}) |
|
|
|
if err != nil { |
|
|
|
_ = session.Rollback() |
|
|
|
fmt.Println("err:::::22222", err) |
|
|
|
continue |
|
|
|
} |
|
|
|
|
|
|
|
//4.2给相应的用户减少个人的绿色积分(结算数量) |
|
|
|
err = rule.DealUserCoin(session, md.DealUserCoinReq{ |
|
|
|