tl 支付兼容
This commit is contained in:
@@ -30,13 +30,9 @@ func pay4OrderByTT(ctx *jxcontext.Context, order *model.GoodsOrder, vendorPayTyp
|
|||||||
NotifyURL: globals.TictokpayNotifyURL,
|
NotifyURL: globals.TictokpayNotifyURL,
|
||||||
}
|
}
|
||||||
if subAppID == tiktok.TiktokJXDJAppID {
|
if subAppID == tiktok.TiktokJXDJAppID {
|
||||||
param = &tiktok.TickTokCreateOrder{
|
param.AppID = api.TiktokJXDJApi.GetAppID()
|
||||||
AppID: api.TiktokJXDJApi.GetAppID(),
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
param = &tiktok.TickTokCreateOrder{
|
param.AppID = api.TiktokApi.GetAppID()
|
||||||
AppID: api.TiktokApi.GetAppID(),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
ttOrderId, orderToken, err := api.TiktokApi.CreateOrderByTicktock(param)
|
ttOrderId, orderToken, err := api.TiktokApi.CreateOrderByTicktock(param)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user