1
This commit is contained in:
@@ -46,7 +46,7 @@ func (c *JxOrderController) CreateOrder() {
|
||||
// @Param vendorPayType formData string true "平台支付类型"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /Pay4Order [post]
|
||||
// @router / [post]
|
||||
func (c *JxOrderController) Pay4Order() {
|
||||
c.callPay4Order(func(params *tJxorderPay4OrderParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = localjx.Pay4Order(params.Ctx, utils.Str2Int64(params.VendorOrderID), params.PayType, params.VendorPayType, params.SubAppID)
|
||||
|
||||
@@ -39,6 +39,7 @@ func MsgFail() *TicktockRes {
|
||||
}
|
||||
|
||||
func (c *TicTocController) TtMsg() {
|
||||
globals.SugarLogger.Debugf("============err:%s", "抖音支付/退款回调")
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
call, refund, payType, err := api.TiktokApi.GetCallbackMsg(getPayInfo(c.Ctx))
|
||||
globals.SugarLogger.Debugf("tictok callback callbackResponse:%s", utils.Format4Output(call, true))
|
||||
|
||||
Reference in New Issue
Block a user