Browse Source

update

tmp
DengBiao 8 months ago
parent
commit
21abe23f5f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/customer/svc/svc_pay.go

+ 2
- 2
app/customer/svc/svc_pay.go View File

@@ -128,7 +128,7 @@ func BuyPackageForAli(c *gin.Context, req md.BuyPackageReq) (outTradeNo, tradeNo
PayWay: enum.PayWayForAli,
CreateAt: now.Format("2006-01-02 15:04:05"),
UpdateAt: now.Format("2006-01-02 15:04:05"),
PayAt: "",
PayAt: "2006-01-02 15:04:05",
})
if err != nil {
_ = session.Rollback()
@@ -264,7 +264,7 @@ func BuyPackageForWx(c *gin.Context, req md.BuyPackageReq) (outTradeNo, total st
PrepayId: *result.PrepayId,
CreateAt: now.Format("2006-01-02 15:04:05"),
UpdateAt: now.Format("2006-01-02 15:04:05"),
PayAt: "",
PayAt: "2006-01-02 15:04:05",
})
if err != nil {
_ = session.Rollback()


Loading…
Cancel
Save