Ver a proveniência

update

master
shenjiachi há 5 dias
ascendente
cometimento
3fe1edb00a
2 ficheiros alterados com 7 adições e 2 eliminações
  1. +6
    -1
      app/hdl/hdl_points_center.go
  2. +1
    -1
      go.mod

+ 6
- 1
app/hdl/hdl_points_center.go Ver ficheiro

@@ -915,9 +915,14 @@ func PointsCenterCalcExchange(c *gin.Context) {
return
}

feeDecimal, err := decimal.NewFromString(exchangeResp.AmountFee)
if err != nil {
e.OutErr(c, e.ERR, err.Error())
return
}
resp := md.PointsCenterCalcExchangeResp{
Value: exchangeResp.GetEggEnergyAmount,
Fee: exchangeResp.AmountFee,
Fee: feeDecimal.StringFixed(2),
}

e.OutSuc(c, resp, nil)


+ 1
- 1
go.mod Ver ficheiro

@@ -34,7 +34,7 @@ require (

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241221164231-20952e894d1d
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241222141934-5562d8e0231c
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241223102933-953e3394de41
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
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible


Carregando…
Cancelar
Guardar