Browse Source

update

tmp
DengBiao 10 months ago
parent
commit
b106450dba
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      app/customer/hdl/hdl_call_back.go
  2. +1
    -1
      app/customer/svc/svc_pay.go

+ 1
- 0
app/customer/hdl/hdl_call_back.go View File

@@ -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())


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

@@ -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{


Loading…
Cancel
Save