DengBiao 8 miesięcy temu
rodzic
commit
ef2b0ede43
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      app/customer/hdl/hdl_demo.go
  2. +1
    -1
      app/customer/hdl/hdl_pay.go

+ 1
- 1
app/customer/hdl/hdl_demo.go Wyświetl plik

@@ -150,7 +150,7 @@ func WxPay(c *gin.Context) {

func Demo(c *gin.Context) {

_, err := svc.DealCentralKitchenForSchoolOrderCallBackForWx("141271708763327845", "4200002114202402240122111525", "SUCCESS")
_, err := svc.DealCentralKitchenForSchoolOrderCallBackForWx("141271708763327845", "4200002114202402240122111525", "SUCCESS", "")
if err != nil {
e.OutErr(c, e.ERR, err.Error())
return


+ 1
- 1
app/customer/hdl/hdl_pay.go Wyświetl plik

@@ -159,7 +159,7 @@ func OrdState(c *gin.Context) {
e.OutErr(c, e.ERR, err2.Error())
return
}
ord.State, err2 = svc.DealCentralKitchenForSchoolOrderCallBack(outTradeNo, result.TradeStatus)
ord.State, err2 = svc.DealCentralKitchenForSchoolOrderCallBack(outTradeNo, result.TradeStatus, result.Date)
if err != nil {
e.OutErr(c, e.ERR, err2.Error())
return


Ładowanie…
Anuluj
Zapisz