pay
This commit is contained in:
@@ -51,7 +51,7 @@ func (p *PayHandler) CreatePay() (err error) {
|
|||||||
TradeType: p.VendorPayType,
|
TradeType: p.VendorPayType,
|
||||||
TotalFee: p.Order.PayPrice,
|
TotalFee: p.Order.PayPrice,
|
||||||
TimeStart: wxpayapi.Time2PayTime(time.Now()),
|
TimeStart: wxpayapi.Time2PayTime(time.Now()),
|
||||||
ProfitSharing: wxpayapi.OptYes,
|
// ProfitSharing: wxpayapi.OptYes,
|
||||||
}
|
}
|
||||||
if authInfo, err := p.Ctx.GetV2AuthInfo(); err == nil && authInfo.GetAuthType() == weixin.AuthTypeWxApp {
|
if authInfo, err := p.Ctx.GetV2AuthInfo(); err == nil && authInfo.GetAuthType() == weixin.AuthTypeWxApp {
|
||||||
param.OpenID = authInfo.GetAuthID()
|
param.OpenID = authInfo.GetAuthID()
|
||||||
|
|||||||
Reference in New Issue
Block a user