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 eab3d54..1a2dd1a 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, 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 diff --git a/app/hdl/member_center/hdl_user_management.go b/app/hdl/member_center/hdl_user_management.go index 0cfb0e0..1261fc6 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, 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 diff --git a/go.mod b/go.mod index 5c696f0..de5c90d 100644 --- a/go.mod +++ b/go.mod @@ -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