Browse Source

update

tmp
dengbiao 3 weeks ago
parent
commit
7b544fd34a
2 changed files with 4 additions and 4 deletions
  1. +2
    -1
      app/hdl/hdl_points_center.go
  2. +2
    -3
      go.mod

+ 2
- 1
app/hdl/hdl_points_center.go View File

@@ -15,6 +15,7 @@ import (
md2 "code.fnuoos.com/EggPlanet/egg_system_rules.git/md" md2 "code.fnuoos.com/EggPlanet/egg_system_rules.git/md"
"code.fnuoos.com/EggPlanet/egg_system_rules.git/rule" "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule"
"code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy" "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy"
enum2 "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy/enum"
md3 "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy/md" md3 "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy/md"
svc2 "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy/svc" svc2 "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy/svc"
es2 "code.fnuoos.com/EggPlanet/egg_system_rules.git/utils/es" es2 "code.fnuoos.com/EggPlanet/egg_system_rules.git/utils/es"
@@ -477,7 +478,7 @@ func ExchangeEnergy(c *gin.Context) {
} }


// 6. 更改动态数据 // 6. 更改动态数据
err = egg_energy.DealAvailableEggEnergyCoin(session, int(enum.EggEnergyExchangeAccountBalance), eggEnergyCoreData, md3.DealAvailableEggEnergyCoinReq{
err = egg_energy.DealAvailableEggEnergyCoin(session, int(enum2.EggEnergyExchangeAccountBalance), eggEnergyCoreData, md3.DealAvailableEggEnergyCoinReq{
Amount: req.EnergyAmount, Amount: req.EnergyAmount,
AmountFee: calcPriceReductionFormula.AmountFee, AmountFee: calcPriceReductionFormula.AmountFee,
BeforePrice: calcPriceReductionFormula.BeforePrice, BeforePrice: calcPriceReductionFormula.BeforePrice,


+ 2
- 3
go.mod View File

@@ -15,7 +15,7 @@ require (
github.com/go-playground/universal-translator v0.18.1 github.com/go-playground/universal-translator v0.18.1
github.com/go-playground/validator/v10 v10.20.0 github.com/go-playground/validator/v10 v10.20.0
github.com/go-redis/redis v6.15.9+incompatible github.com/go-redis/redis v6.15.9+incompatible
github.com/gomodule/redigo v2.0.0+incompatible
github.com/gomodule/redigo v1.9.2
github.com/jinzhu/copier v0.4.0 github.com/jinzhu/copier v0.4.0
github.com/makiuchi-d/gozxing v0.0.0-20210324052758-57132e828831 github.com/makiuchi-d/gozxing v0.0.0-20210324052758-57132e828831
github.com/qiniu/api.v7/v7 v7.8.2 github.com/qiniu/api.v7/v7 v7.8.2
@@ -33,11 +33,10 @@ require (


require ( require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241214095356-fdac2df9537f code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241214095356-fdac2df9537f
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241214095427-b3f9e6ed2446
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241215151712-d253a63d8ae1
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be 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 code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible
github.com/gin-contrib/sessions v1.0.1
github.com/go-pay/crypto v0.0.1 github.com/go-pay/crypto v0.0.1
github.com/go-pay/gopay v1.5.101 github.com/go-pay/gopay v1.5.101
github.com/go-pay/xlog v0.0.2 github.com/go-pay/xlog v0.0.2


Loading…
Cancel
Save