...
 
Commits (4)
...@@ -172,11 +172,11 @@ func (s *UserService) GetUserDetail(userId mysql.ID, myUserId mysql.ID, lang str ...@@ -172,11 +172,11 @@ func (s *UserService) GetUserDetail(userId mysql.ID, myUserId mysql.ID, lang str
//rp := res_m.ResProperty{} //rp := res_m.ResProperty{}
//properties, err := rp.GetAll(mysql.Db) //properties, err := rp.GetAll(mysql.Db)
_, myArea, err := user_m.GetUserCountryArea(model, myUserId) _, area, err := user_m.GetUserCountryArea(model, userId)
if err != nil { if err != nil {
return nil, err return nil, err
} }
properties, err := property_cv.GetPropertyAll(mysql.Db, myArea) properties, err := property_cv.GetPropertyAll(mysql.Db, area)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......