|
@@ -1,6 +1,7 @@ |
|
|
package financial_center |
|
|
package financial_center |
|
|
|
|
|
|
|
|
import ( |
|
|
import ( |
|
|
|
|
|
"applet/app/cfg" |
|
|
"applet/app/db" |
|
|
"applet/app/db" |
|
|
"applet/app/e" |
|
|
"applet/app/e" |
|
|
md "applet/app/md/financial_center" |
|
|
md "applet/app/md/financial_center" |
|
@@ -8,6 +9,7 @@ import ( |
|
|
"applet/app/utils" |
|
|
"applet/app/utils" |
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement" |
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement" |
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/model" |
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/model" |
|
|
|
|
|
"code.fnuoos.com/EggPlanet/egg_system_rules.git" |
|
|
"code.fnuoos.com/EggPlanet/egg_system_rules.git/enum" |
|
|
"code.fnuoos.com/EggPlanet/egg_system_rules.git/enum" |
|
|
md3 "code.fnuoos.com/EggPlanet/egg_system_rules.git/md" |
|
|
md3 "code.fnuoos.com/EggPlanet/egg_system_rules.git/md" |
|
|
"code.fnuoos.com/EggPlanet/egg_system_rules.git/rule" |
|
|
"code.fnuoos.com/EggPlanet/egg_system_rules.git/rule" |
|
@@ -520,6 +522,7 @@ func WithdrawApplyAudit(c *gin.Context) { |
|
|
Amount: utils.StrToFloat64(finWithdrawApply.Amount), |
|
|
Amount: utils.StrToFloat64(finWithdrawApply.Amount), |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
egg_system_rules.Init(cfg.RedisAddr) |
|
|
err = rule.DealUserWallet(session, dealUserWalletReq) |
|
|
err = rule.DealUserWallet(session, dealUserWalletReq) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
session.Rollback() |
|
|
session.Rollback() |
|
|