fix: 调整创建订单的uuid
This commit is contained in:
parent
54b15344e0
commit
48aa714706
@ -499,7 +499,7 @@ func CreateAntomPay(c *gin.Context) {
|
||||
CurrencyType: int32(currencyType),
|
||||
PayStatus: 1,
|
||||
UserID: userInfo.ID,
|
||||
SerialNumber: result.CheckoutSessionId,
|
||||
SerialNumber: req.OutTradeNo,
|
||||
})
|
||||
if err != nil {
|
||||
fmt.Println("=============== antom创建支付,创建对账单报错:", err)
|
||||
@ -622,9 +622,9 @@ func AntomWebhook(c *gin.Context) {
|
||||
}
|
||||
// 更新对账单
|
||||
_, err = service.BundleProvider.UpdateReconciliationStatusBySerialNumber(context.Background(), &bundle.UpdateStatusAndPayTimeBySerialNumber{
|
||||
PayTime: paymentTime,
|
||||
PayTime: common.GetBeijingTime(),
|
||||
PaymentStatus: 2,
|
||||
SerialNumber: requestId,
|
||||
SerialNumber: resp.OutTradeNo,
|
||||
})
|
||||
if err != nil {
|
||||
fmt.Println("=============== antom回调,更新对账单报错:", err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user