liuxiaolong
2021-11-30 8c7ee77d96d4ef0a08370319f20a4cda582dca19
userApi.go
@@ -63,11 +63,13 @@
   return res.Success,res.Data
}
func (api UserApi) GetUserProfile() (bool,interface{}) {
func (api UserApi) GetUserProfile(userId string) (bool,interface{}) {
   url := "/data/api-u/users/profile"
   netNode := getNetNode(url2Topic(Topic_System_Service, url))
   client := NewClient(WithNodes(netNode))
   query := map[string]string {}
   query := map[string]string {
      "userId": userId,
   }
   respBody, err := client.DoGetRequest(url, query, nil)
   if err != nil {
      return false,nil