|
@@ -222,7 +222,7 @@ func BuyPackageForWx(c *gin.Context, req md.BuyPackageReq) (outTradeNo, total st |
|
|
SubMchid: core.String(wxMchId), |
|
|
SubMchid: core.String(wxMchId), |
|
|
Description: core.String("购买食堂套餐"), |
|
|
Description: core.String("购买食堂套餐"), |
|
|
OutTradeNo: core.String(outTradeNo), |
|
|
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("自定义数据说明"), |
|
|
//Attach: core.String("自定义数据说明"), |
|
|
NotifyUrl: core.String(sysCfg[enum2.WxJsapiPayNotifyUrl]), |
|
|
NotifyUrl: core.String(sysCfg[enum2.WxJsapiPayNotifyUrl]), |
|
|
Amount: &jsapi.Amount{ |
|
|
Amount: &jsapi.Amount{ |
|
|