Commit 032776f0 by yemin

no message

parent ad2d45e8
...@@ -16,11 +16,11 @@ func GetUserPhoneNumber(code string, accessToken string) (*PhoneNumberResponse, ...@@ -16,11 +16,11 @@ func GetUserPhoneNumber(code string, accessToken string) (*PhoneNumberResponse,
bs,err := httpclient.Post(url,nil, bodyParam) bs,err := httpclient.Post(url,nil, bodyParam)
if err != nil { if err != nil {
return result, err return nil, err
} }
if err1 := json.Unmarshal(bs, result);err1 !=nil{ if err1 := json.Unmarshal(bs, result);err1 !=nil{
return result, err1 return nil, err1
} }
return result, nil return result, nil
} }
......
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