feat: 微信支付宝登录对接
This commit is contained in:
+6
-3
@@ -149,16 +149,19 @@ export function bindInvitationCode(params) {
|
||||
// 微信一键登录
|
||||
export function wechatLogin(params) {
|
||||
return request({
|
||||
url: `/auth/loginByWechat?wechatCode=${params.wechatCode}&isValid=${params.isValid}`,
|
||||
method: "post"
|
||||
url: `/auth/loginByWechat`,
|
||||
method: "post",
|
||||
data: params,
|
||||
cha:1
|
||||
});
|
||||
}
|
||||
|
||||
// 支付宝一键登录
|
||||
export function alipayLogin(params) {
|
||||
return request({
|
||||
url: "/auth/loginByAlipay",
|
||||
url: "/auth/loginByAlipayNew",
|
||||
method: "post",
|
||||
data: params,
|
||||
cha:1
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user