Commit 4272b8ac authored by zhengxiuming's avatar zhengxiuming

add returnURl

parent b0f01e21
......@@ -185,7 +185,8 @@ func UnifiedOrder(input *models.PlaceAnOrderParamInput, ip string) (interface{},
if input.SourceCode == 2 {
data2["trans_type"] = "71" //接入方式:微信小程序
} else if input.SourceCode == 18 {
data2["trans_type"] = "41" //接入方式:ALIPAY
data2["trans_type"] = "41" //接入方式:ALIPAY
data2["callback_url"] = input.ReturnURL //客户端下单完成支付后返回的商户网页跳转地址
} else {
data2["trans_type"] = "51" //接入方式:微信JSAPI
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment