diff --git a/app/customer/hdl/hdl_call_back.go b/app/customer/hdl/hdl_call_back.go index 41259b0..1bf16a2 100644 --- a/app/customer/hdl/hdl_call_back.go +++ b/app/customer/hdl/hdl_call_back.go @@ -70,6 +70,7 @@ func WxJsApiCallBack(c *gin.Context) { return } + utils2.FilePutContents("WxJsApiCallBack", utils2.SerializeStr(resp)) _, err = svc.DealCentralKitchenForSchoolOrderCallBackForWx(resp.OutTradeNo, resp.TransactionId, resp.TradeState) if err != nil { e.OutErr(c, e.ERR, err.Error()) diff --git a/app/customer/svc/svc_pay.go b/app/customer/svc/svc_pay.go index c741902..e3b2669 100644 --- a/app/customer/svc/svc_pay.go +++ b/app/customer/svc/svc_pay.go @@ -222,7 +222,7 @@ func BuyPackageForWx(c *gin.Context, req md.BuyPackageReq) (outTradeNo, total st SubMchid: core.String(wxMchId), Description: core.String("购买食堂套餐"), OutTradeNo: core.String(outTradeNo), - TimeExpire: core.Time(time.Now().Add(30 * time.Minute)), + TimeExpire: core.Time(time.Now().Add(20 * time.Minute)), //Attach: core.String("自定义数据说明"), NotifyUrl: core.String(sysCfg[enum2.WxJsapiPayNotifyUrl]), Amount: &jsapi.Amount{