huangjiajun пре 1 година
родитељ
комит
c7946e5fdc
1 измењених фајлова са 2 додато и 1 уклоњено
  1. +2
    -1
      tik_tok/svc_tik_tok_convert.go

+ 2
- 1
tik_tok/svc_tik_tok_convert.go Прегледај датотеку

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


Loading…
Откажи
Сачувај