Parcourir la source

add reverse:for v1.1.7 抖音直播转链更新

tags/v1.1.7
huangjiajun il y a 2 ans
Parent
révision
4071ee0bf5
1 fichiers modifiés avec 10 ajouts et 1 suppressions
  1. +10
    -1
      tik_tok/svc_tik_tok_convert.go

+ 10
- 1
tik_tok/svc_tik_tok_convert.go Voir le fichier

@@ -65,7 +65,16 @@ func LiveCreatePid(args map[string]string) map[string]string {
}
func LiveConvertUrl(args map[string]string) map[string]string {

params := map[string]interface{}{"pid_info": map[string]interface{}{"pid": args["pid"], "external_info": args["external_info"]}, "open_id": args["open_id"]}
params := map[string]interface{}{"pid_info": map[string]interface{}{"pid": args["pid"], "external_info": args["external_info"]}, "buyin_id": args["open_id"]}
if args["need_qr_code"] == "1" {
params["need_qr_code"] = "true"
}
if args["dy_code"] != "" {
params["dy_code"] = args["dy_code"]
}
if args["product_id"] != "" {
params["product_id"] = args["product_id"]
}
send, err := Send(args["appkey"], args["appSecret"], "buyin.instituteLiveShare", params, args["acctoken"])
fmt.Println(send)
var data = map[string]string{}


Chargement…
Annuler
Enregistrer