From ef2b0ede4371182e1280c09eee693724debc6545 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 6 Mar 2024 18:37:31 +0800 Subject: [PATCH] update --- app/customer/hdl/hdl_demo.go | 2 +- app/customer/hdl/hdl_pay.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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