diff --git a/app/customer/hdl/hdl_demo.go b/app/customer/hdl/hdl_demo.go index 1d901b1..70bd493 100644 --- a/app/customer/hdl/hdl_demo.go +++ b/app/customer/hdl/hdl_demo.go @@ -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 diff --git a/app/customer/hdl/hdl_pay.go b/app/customer/hdl/hdl_pay.go index f93a622..49b2789 100644 --- a/app/customer/hdl/hdl_pay.go +++ b/app/customer/hdl/hdl_pay.go @@ -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