auth_user
This commit is contained in:
parent
e29a3f06eb
commit
2da52977a2
|
@ -87,6 +87,7 @@ func (s *StaffUser) From(m *model.StaffUser) {
|
||||||
s.PayeeBankCard = payee.BankCard
|
s.PayeeBankCard = payee.BankCard
|
||||||
s.PayeeAlipayUid = payee.AlipayUid
|
s.PayeeAlipayUid = payee.AlipayUid
|
||||||
|
|
||||||
s.PayeeAlipayAuthUrl = fmt.Sprintf("https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=2021004108682468&scope=auth_base&state=%d&redirect_uri=https://e.batiao8.com/api/payment/auth/alipay", m.Id)
|
//s.PayeeAlipayAuthUrl = fmt.Sprintf("https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=2021004108682468&scope=auth_base&state=%d&redirect_uri=https://e.batiao8.com/api/payment/auth/alipay", m.Id)
|
||||||
|
s.PayeeAlipayAuthUrl = fmt.Sprintf("https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=2021004108682468&scope=auth_user&state=%d&redirect_uri=https://e.batiao8.com/api/payment/auth/alipay", m.Id)
|
||||||
s.PayeeAlipayAuthQrcode, _ = butil.CreateQrcodeBase64V2(s.PayeeAlipayAuthUrl, qrcode.Low, 300)
|
s.PayeeAlipayAuthQrcode, _ = butil.CreateQrcodeBase64V2(s.PayeeAlipayAuthUrl, qrcode.Low, 300)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue