mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	接入第三方登录(已接入Gitee[理论justAuth支持都可以接入]--抢先预览版
This commit is contained in:
		| @@ -38,3 +38,19 @@ export function getCodeImg() { | ||||
|     method: 'get' | ||||
|   }) | ||||
| } | ||||
|  | ||||
| // 接入第三方登录 | ||||
| export function giteeLogin() { | ||||
|   return request({ | ||||
|     url: '/auth2/authorization/gitee', | ||||
|     method: 'get' | ||||
|   }) | ||||
| } | ||||
|  | ||||
| export function getToken(path) { | ||||
|   console.log({path}); | ||||
|   return request({ | ||||
|     url: '/auth2/login/gitee' +  path, | ||||
|     method: 'get' | ||||
|   }) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 weir
					weir