DengBiao pirms 9 mēnešiem
vecāks
revīzija
b106450dba
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt