1
This commit is contained in:
@@ -97,11 +97,12 @@ func pay4OrderByTL(ctx *jxcontext.Context, order *model.GoodsOrder, payType int,
|
||||
return orderPay, err
|
||||
}
|
||||
|
||||
// https://prodoc.allinpay.com/doc/1091/ 新增消息
|
||||
func OnTLPayCallback(call *tonglianpayapi.CallBackResult) (err error) {
|
||||
switch call.TrxCode {
|
||||
case tonglianpayapi.MsgTypePay:
|
||||
case tonglianpayapi.MsgTypePay, "VSP681", "VSP683":
|
||||
err = onTLpayFinished(call)
|
||||
case tonglianpayapi.MsgTypeRefund:
|
||||
case tonglianpayapi.MsgTypeRefund, "VSP682", "VSP684":
|
||||
err = onTLpayRefund(call)
|
||||
case tonglianpayapi.MsgTypePayZFB:
|
||||
err = onTLpayFinished(call)
|
||||
|
||||
Reference in New Issue
Block a user