@@ -131,7 +131,7 @@ func GetEggEnergyUserCoinFlowList(c *gin.Context) { | |||||
} | } | ||||
coinFlowDb := implement.NewUserVirtualCoinFlowDb(db.Db) | 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 { | if err != nil { | ||||
e.OutErr(c, e.ERR_DB_ORM, err.Error()) | e.OutErr(c, e.ERR_DB_ORM, err.Error()) | ||||
return | return | ||||
@@ -299,7 +299,7 @@ func GetEggPointsUserCoinFlowList(c *gin.Context) { | |||||
} | } | ||||
coinFlowDb := implement.NewUserVirtualCoinFlowDb(db.Db) | 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 { | if err != nil { | ||||
e.OutErr(c, e.ERR_DB_ORM, err.Error()) | e.OutErr(c, e.ERR_DB_ORM, err.Error()) | ||||
return | return | ||||
@@ -564,7 +564,7 @@ func UserManagementGetVirtualCoinDetail(c *gin.Context) { | |||||
} | } | ||||
flowDb := implement.NewUserVirtualCoinFlowDb(db.Db) | 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 { | if err != nil { | ||||
e.OutErr(c, e.ERR_DB_ORM, err.Error()) | e.OutErr(c, e.ERR_DB_ORM, err.Error()) | ||||
return | return | ||||
@@ -33,7 +33,7 @@ require ( | |||||
) | ) | ||||
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/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_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 | ||||