From f61d449b31bf2d2dd611ec7d18ebde7e599c900f Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Thu, 21 Nov 2024 10:09:07 +0800 Subject: [PATCH] update --- app/hdl/institutional_management/egg_energy/hdl_user_coin.go | 4 ++-- app/hdl/member_center/hdl_user_management.go | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/hdl/institutional_management/egg_energy/hdl_user_coin.go b/app/hdl/institutional_management/egg_energy/hdl_user_coin.go index 13a3d8a..eab3d54 100644 --- a/app/hdl/institutional_management/egg_energy/hdl_user_coin.go +++ b/app/hdl/institutional_management/egg_energy/hdl_user_coin.go @@ -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) + coinFlows, total, err := coinFlowDb.UserVirtualCoinFlowFindByCoinAndUser(req.Page, req.PageSize, req.CoinId, req.Uid, req.StartAt, req.EndAt, req.Direction, false) 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) + coinFlows, total, err := coinFlowDb.UserVirtualCoinFlowFindByCoinAndUser(req.Page, req.PageSize, req.CoinId, req.Uid, req.StartAt, req.EndAt, req.Direction, false) if err != nil { e.OutErr(c, e.ERR_DB_ORM, err.Error()) return diff --git a/app/hdl/member_center/hdl_user_management.go b/app/hdl/member_center/hdl_user_management.go index 3a8b6f3..0cfb0e0 100644 --- a/app/hdl/member_center/hdl_user_management.go +++ b/app/hdl/member_center/hdl_user_management.go @@ -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) + flows, total, err := flowDb.UserVirtualCoinFlowFindByCoinAndUser(utils.StrToInt(page), utils.StrToInt(limit), reqCoinID, utils.StrToInt64(uid), "", "", 0, false) if err != nil { e.OutErr(c, e.ERR_DB_ORM, err.Error()) return diff --git a/go.mod b/go.mod index 2326842..5c696f0 100644 --- a/go.mod +++ b/go.mod @@ -33,7 +33,7 @@ require ( ) require ( - code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241119114643-e5842e3aad32 + code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241121020726-20b33910485f 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