feat: 微信支付宝登录对接

This commit is contained in:
2025-09-23 23:19:16 +08:00
parent 0f033c1d8d
commit a22b987ed9
7 changed files with 463 additions and 492 deletions
+6 -3
View File
@@ -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
});
}