Ver código fonte

update

adv_callback
dengbiao 2 semanas atrás
pai
commit
77a4587cf2
2 arquivos alterados com 13 adições e 1 exclusões
  1. +12
    -0
      app/hdl/hdl_wallet.go
  2. +1
    -1
      go.mod

+ 12
- 0
app/hdl/hdl_wallet.go Ver arquivo

@@ -307,6 +307,18 @@ func WithdrawApply(c *gin.Context) {

//5、推入mq
if isAuto {
//更改提现单记录状态
finWithdrawApply.State = int(enum.FinWithdrawApplyStateForIng)
updateAffected, err1 := finWithdrawApplyDb.UpdateFinWithdrawApply(finWithdrawApply, "state")
if err1 != nil {
e.OutErr(c, e.ERR_DB_ORM, err1.Error())
return
}
if updateAffected <= 0 {
e.OutErr(c, e.ERR_DB_ORM, "更新提现单状态失败")
return
}

ch, err1 := rabbit.Cfg.Pool.GetChannel()
if err1 != nil {
e.OutErr(c, e.ERR_INIT_RABBITMQ, err1.Error())


+ 1
- 1
go.mod Ver arquivo

@@ -32,7 +32,7 @@ require (
)

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241203152302-b6aa8333c67e
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241204091019-14b93d36ac8e
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241204070258-4712985349b4
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5


Carregando…
Cancelar
Salvar