This commit is contained in:
苏尹岚
2020-11-05 16:46:35 +08:00
parent cf72ac3c8b
commit c3e899d65a

View File

@@ -51,7 +51,7 @@ func (p *PayHandler) CreatePay() (err error) {
TradeType: p.VendorPayType,
TotalFee: p.Order.PayPrice,
TimeStart: wxpayapi.Time2PayTime(time.Now()),
ProfitSharing: wxpayapi.OptYes,
// ProfitSharing: wxpayapi.OptYes,
}
if authInfo, err := p.Ctx.GetV2AuthInfo(); err == nil && authInfo.GetAuthType() == weixin.AuthTypeWxApp {
param.OpenID = authInfo.GetAuthID()