Ver código fonte

update

master
dengbiao 1 dia atrás
pai
commit
3e73d31d4a
1 arquivos alterados com 3 adições e 0 exclusões
  1. +3
    -0
      app/hdl/financial_center/hdl_withdraw.go

+ 3
- 0
app/hdl/financial_center/hdl_withdraw.go Ver arquivo

@@ -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()


Carregando…
Cancelar
Salvar