Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
d9b11aa3ec
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      tik_tok/svc_tik_tok_open_api.go

+ 8
- 0
tik_tok/svc_tik_tok_open_api.go View File

@@ -157,3 +157,11 @@ func OpenKolStoreRemove(args map[string]interface{}) (string, error) {
fmt.Println(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
}

Loading…
Cancel
Save