Explorar el Código

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

tags/v1.1.7
huangjiajun hace 2 años
padre
commit
4071ee0bf5
Se han modificado 1 ficheros con 10 adiciones y 1 borrados
  1. +10
    -1
      tik_tok/svc_tik_tok_convert.go

+ 10
- 1
tik_tok/svc_tik_tok_convert.go Ver fichero

@@ -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{}


Cargando…
Cancelar
Guardar