diff --git a/app/hdl/hdl_add_friend.go b/app/hdl/hdl_add_friend.go index fef2f3b..c2d416c 100644 --- a/app/hdl/hdl_add_friend.go +++ b/app/hdl/hdl_add_friend.go @@ -578,9 +578,8 @@ func MyFans(c *gin.Context) { nowTeamAssistanceNum = 0 nowTeamAssistanceReward = "0" } else { - session := db.Db.Where("") assistanceDb := implement.NewEggEnergyTeamAssistanceDb(db.Db) - assistance, err := assistanceDb.EggEnergyTeamAssistanceGetOneByParamsBySession(session, map[string]interface{}{ + assistance, err := assistanceDb.EggEnergyTeamAssistanceGetOneByParams(map[string]interface{}{ "key": "sign_id", "value": signIn.Id, }) diff --git a/go.mod b/go.mod index bad0009..2342d70 100644 --- a/go.mod +++ b/go.mod @@ -33,7 +33,7 @@ require ( ) require ( - code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241221050305-1f1fb9ecdbaa + code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241221164231-20952e894d1d code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241220073933-42987f91e880 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