|
@@ -143,7 +143,7 @@ func CsjpLifeGetOrder(args map[string]string) (*[]csjp.CsjpOrder, int64, bool) { |
|
|
//4.5 活动转链接口 |
|
|
//4.5 活动转链接口 |
|
|
func CsjpLifeGetActLink(args map[string]string) (map[string]string, error) { |
|
|
func CsjpLifeGetActLink(args map[string]string) (map[string]string, error) { |
|
|
params := map[string]interface{}{ |
|
|
params := map[string]interface{}{ |
|
|
"distribution_activity_id": args["distribution_activity_idf"], |
|
|
|
|
|
|
|
|
"distribution_activity_id": zhios_third_party_utils.AnyToInt64(args["distribution_activity_id"]), |
|
|
"command_external_info": args["command_external_info"], |
|
|
"command_external_info": args["command_external_info"], |
|
|
} |
|
|
} |
|
|
if args["need_qr_code"] == "1" { |
|
|
if args["need_qr_code"] == "1" { |
|
@@ -162,8 +162,8 @@ func CsjpLifeGetActLink(args map[string]string) (map[string]string, error) { |
|
|
fmt.Println(send) |
|
|
fmt.Println(send) |
|
|
res := map[string]string{ |
|
|
res := map[string]string{ |
|
|
"dy_share_command": gjson.Get(send, "data.command_share_info.dy_share_command").String(), |
|
|
"dy_share_command": gjson.Get(send, "data.command_share_info.dy_share_command").String(), |
|
|
"qr_code_url": gjson.Get(send, "data.command_share_info.qr_code_url").String(), |
|
|
|
|
|
"share_link": gjson.Get(send, "data.command_share_info.share_link").String(), |
|
|
|
|
|
|
|
|
"qr_code_url": gjson.Get(send, "data.command_share_info.dy_qr_code_url").String(), |
|
|
|
|
|
"share_link": gjson.Get(send, "data.command_share_info.dy_share_link").String(), |
|
|
"dy_deeplink": gjson.Get(send, "data.command_share_info.dy_deeplink").String(), |
|
|
"dy_deeplink": gjson.Get(send, "data.command_share_info.dy_deeplink").String(), |
|
|
"dy_zlink": gjson.Get(send, "data.command_share_info.dy_zlink").String(), |
|
|
"dy_zlink": gjson.Get(send, "data.command_share_info.dy_zlink").String(), |
|
|
} |
|
|
} |
|
|