Commit b0a68849 authored by chenweijian's avatar chenweijian

座驾cp头像

parent f657fcb8
...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment