mirror of
https://github.com/xxjwxc/public.git
synced 2025-09-26 20:01:19 +08:00
Update oauth.go
This commit is contained in:
@@ -89,7 +89,7 @@ func (_wx *wxTools) Getuserphonenumber(code string) (string, error) { // 手机
|
||||
params, _ := json.Marshal(code)
|
||||
resp, e := http.Post(url, "Content-Type", bytes.NewBuffer(params))
|
||||
if e != nil {
|
||||
return nil, e
|
||||
return "", e
|
||||
}
|
||||
|
||||
defer resp.Body.Close()
|
||||
|
Reference in New Issue
Block a user