mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	1. 修复“登陆”=》“登录”
2. 增加社交平台的绑定与解绑
This commit is contained in:
		| @@ -39,15 +39,15 @@ export function getCodeImg() { | ||||
|   }) | ||||
| } | ||||
|  | ||||
| // 社交登陆的跳转 | ||||
| export function socialLoginRedirect(type, redirectUri) { | ||||
| // 社交授权的跳转 | ||||
| export function socialAuthRedirect(type, redirectUri) { | ||||
|   return request({ | ||||
|     url: '/social-login-redirect?type=' + type + '&redirectUri=' + redirectUri, | ||||
|     url: '/social-auth-redirect?type=' + type + '&redirectUri=' + redirectUri, | ||||
|     method: 'get' | ||||
|   }) | ||||
| } | ||||
|  | ||||
| // 社交登陆,使用 code 授权码 | ||||
| // 社交登录,使用 code 授权码 | ||||
| export function socialLogin(type, code, state) { | ||||
|   return request({ | ||||
|     url: '/social-login', | ||||
| @@ -60,7 +60,7 @@ export function socialLogin(type, code, state) { | ||||
|   }) | ||||
| } | ||||
|  | ||||
| // 社交登陆,使用 code 授权码 + + 账号密码 | ||||
| // 社交登录,使用 code 授权码 + + 账号密码 | ||||
| export function socialLogin2(type, code, state, username, password) { | ||||
|   return request({ | ||||
|     url: '/social-login2', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV