Browse Source

update

master
shenjiachi 7 hours ago
parent
commit
6f3a9423a7
3 changed files with 4 additions and 4 deletions
  1. +2
    -2
      app/hdl/institutional_management/egg_energy/hdl_user_coin.go
  2. +1
    -1
      app/hdl/member_center/hdl_user_management.go
  3. +1
    -1
      go.mod

+ 2
- 2
app/hdl/institutional_management/egg_energy/hdl_user_coin.go View File

@@ -131,7 +131,7 @@ func GetEggEnergyUserCoinFlowList(c *gin.Context) {
}

coinFlowDb := implement.NewUserVirtualCoinFlowDb(db.Db)
coinFlows, total, err := coinFlowDb.UserVirtualCoinFlowFindByCoinAndUser(req.Page, req.PageSize, req.CoinId, req.Uid, req.StartAt, req.EndAt, req.Direction, false)
coinFlows, total, err := coinFlowDb.UserVirtualCoinFlowFindByCoinAndUser(req.Page, req.PageSize, req.CoinId, req.Uid, req.StartAt, req.EndAt, req.Direction, false, 0)
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return
@@ -299,7 +299,7 @@ func GetEggPointsUserCoinFlowList(c *gin.Context) {
}

coinFlowDb := implement.NewUserVirtualCoinFlowDb(db.Db)
coinFlows, total, err := coinFlowDb.UserVirtualCoinFlowFindByCoinAndUser(req.Page, req.PageSize, req.CoinId, req.Uid, req.StartAt, req.EndAt, req.Direction, false)
coinFlows, total, err := coinFlowDb.UserVirtualCoinFlowFindByCoinAndUser(req.Page, req.PageSize, req.CoinId, req.Uid, req.StartAt, req.EndAt, req.Direction, false, 0)
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return


+ 1
- 1
app/hdl/member_center/hdl_user_management.go View File

@@ -564,7 +564,7 @@ func UserManagementGetVirtualCoinDetail(c *gin.Context) {
}

flowDb := implement.NewUserVirtualCoinFlowDb(db.Db)
flows, total, err := flowDb.UserVirtualCoinFlowFindByCoinAndUser(utils.StrToInt(page), utils.StrToInt(limit), reqCoinID, utils.StrToInt64(uid), "", "", 0, false)
flows, total, err := flowDb.UserVirtualCoinFlowFindByCoinAndUser(utils.StrToInt(page), utils.StrToInt(limit), reqCoinID, utils.StrToInt64(uid), "", "", 0, false, 0)
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return


+ 1
- 1
go.mod View File

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

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241121020726-20b33910485f
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241121055036-fe2db8190b16
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241119120223-896224742c0d
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


Loading…
Cancel
Save