Browse Source

update

master
dengbiao 2 days ago
parent
commit
3e73d31d4a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/hdl/financial_center/hdl_withdraw.go

+ 3
- 0
app/hdl/financial_center/hdl_withdraw.go View File

@@ -1,6 +1,7 @@
package financial_center

import (
"applet/app/cfg"
"applet/app/db"
"applet/app/e"
md "applet/app/md/financial_center"
@@ -8,6 +9,7 @@ import (
"applet/app/utils"
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement"
"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"
md3 "code.fnuoos.com/EggPlanet/egg_system_rules.git/md"
"code.fnuoos.com/EggPlanet/egg_system_rules.git/rule"
@@ -520,6 +522,7 @@ func WithdrawApplyAudit(c *gin.Context) {
Amount: utils.StrToFloat64(finWithdrawApply.Amount),
}

egg_system_rules.Init(cfg.RedisAddr)
err = rule.DealUserWallet(session, dealUserWalletReq)
if err != nil {
session.Rollback()


Loading…
Cancel
Save