|
@@ -1,6 +1,7 @@ |
|
|
package tik_tok |
|
|
package tik_tok |
|
|
|
|
|
|
|
|
import ( |
|
|
import ( |
|
|
|
|
|
zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils" |
|
|
"fmt" |
|
|
"fmt" |
|
|
"github.com/syyongx/php2go" |
|
|
"github.com/syyongx/php2go" |
|
|
"github.com/tidwall/gjson" |
|
|
"github.com/tidwall/gjson" |
|
@@ -67,7 +68,7 @@ func DkActConvertUrl(args map[string]string) (map[string]string, string) { |
|
|
if args["need_qr_code"] == "1" { |
|
|
if args["need_qr_code"] == "1" { |
|
|
need_qr_code = "true" |
|
|
need_qr_code = "true" |
|
|
} |
|
|
} |
|
|
params := map[string]interface{}{"pid": args["pid"], "external_info": args["external_info"], "material_id": args["material_id"], "need_qr_code": need_qr_code} |
|
|
|
|
|
|
|
|
params := map[string]interface{}{"pid": args["pid"], "external_info": args["external_info"], "material_id": zhios_third_party_utils.AnyToInt64(args["material_id"]), "need_qr_code": need_qr_code} |
|
|
send, err := Send(args["appkey"], args["appSecret"], "buyin.doukeActivityShare", params, args["acctoken"]) |
|
|
send, err := Send(args["appkey"], args["appSecret"], "buyin.doukeActivityShare", params, args["acctoken"]) |
|
|
var data = map[string]string{} |
|
|
var data = map[string]string{} |
|
|
if err != nil { |
|
|
if err != nil { |
|
|