|
@@ -157,3 +157,11 @@ func OpenKolStoreRemove(args map[string]interface{}) (string, error) { |
|
|
fmt.Println(err) |
|
|
fmt.Println(err) |
|
|
return send, err |
|
|
return send, err |
|
|
} |
|
|
} |
|
|
|
|
|
func OpenKolUserInfo(args map[string]string) (string, error) { |
|
|
|
|
|
fmt.Println(args) |
|
|
|
|
|
params := map[string]string{"open_id": args["open_id"]} |
|
|
|
|
|
send, err := OpenSend(args["appkey"], args["appSecret"], "oauth/userinfo", params, args["acctoken"]) |
|
|
|
|
|
fmt.Println(send) |
|
|
|
|
|
fmt.Println(err) |
|
|
|
|
|
return send, err |
|
|
|
|
|
} |