...
 
Commits (4)
......@@ -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
}
......