1
This commit is contained in:
@@ -13,8 +13,7 @@ func init() {
|
||||
}
|
||||
|
||||
func TestGenOrderNo(t *testing.T) {
|
||||
orderNo := GenOrderNo(jxcontext.AdminCtx)
|
||||
t.Log(orderNo)
|
||||
|
||||
}
|
||||
|
||||
func TestGetAvailableDeliverTime(t *testing.T) {
|
||||
|
||||
@@ -64,7 +64,7 @@ func OnTTPayCallback(msg *tiktok.DetailCallBackMessage, refund *tiktok.DetailCal
|
||||
func onTTPayFinished(msg *tiktok.DetailCallBackMessage) (err error) {
|
||||
globals.SugarLogger.Debugf("退款回调==================1")
|
||||
orderPay := &model.OrderPay{
|
||||
PayOrderID: msg.CpOrderno,
|
||||
PayOrderID: msg.OrderId,
|
||||
PayType: model.PayTypeTicTok,
|
||||
}
|
||||
orderPay.DeletedAt = utils.DefaultTimeValue
|
||||
@@ -88,6 +88,7 @@ func onTTPayFinished(msg *tiktok.DetailCallBackMessage) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
func onTTPayRefund(msg *tiktok.DetailCallBackMessage2Refund) (err error) {
|
||||
globals.SugarLogger.Debugf("退款回调==================2")
|
||||
orderPayRefund := &model.OrderPayRefund{
|
||||
|
||||
Reference in New Issue
Block a user