diff --git a/tik_tok/svc_tik_tok_convert.go b/tik_tok/svc_tik_tok_convert.go index 68da22c..39d0b75 100644 --- a/tik_tok/svc_tik_tok_convert.go +++ b/tik_tok/svc_tik_tok_convert.go @@ -1,6 +1,7 @@ package tik_tok import ( + zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils" "fmt" "github.com/syyongx/php2go" "github.com/tidwall/gjson" @@ -67,7 +68,7 @@ func DkActConvertUrl(args map[string]string) (map[string]string, string) { if args["need_qr_code"] == "1" { 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"]) var data = map[string]string{} if err != nil {