From e7a5f477ca216a4d1813043115c385039975a4f4 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Mon, 10 Jul 2023 16:28:23 +0800 Subject: [PATCH] =?UTF-8?q?cp=E5=BA=A7=E9=A9=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- domain/service/user_s/user.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/domain/service/user_s/user.go b/domain/service/user_s/user.go index 71cc8c4..de797c4 100644 --- a/domain/service/user_s/user.go +++ b/domain/service/user_s/user.go @@ -172,11 +172,11 @@ func (s *UserService) GetUserDetail(userId mysql.ID, myUserId mysql.ID, lang str //rp := res_m.ResProperty{} //properties, err := rp.GetAll(mysql.Db) - _, myArea, err := user_m.GetUserCountryArea(model, myUserId) + _, area, err := user_m.GetUserCountryArea(model, userId) if err != nil { return nil, err } - properties, err := property_cv.GetPropertyAll(mysql.Db, myArea) + properties, err := property_cv.GetPropertyAll(mysql.Db, area) if err != nil { return nil, err } -- 2.22.0