Explorar el Código

update

master
dengbiao hace 1 día
padre
commit
3e73d31d4a
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      app/hdl/financial_center/hdl_withdraw.go

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

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


Cargando…
Cancelar
Guardar