|
|
|
@ -32,11 +32,10 @@ definitions:
|
|
|
|
|
description: 个数
|
|
|
|
|
type: object
|
|
|
|
|
type: object
|
|
|
|
|
host: 127.0.0.1:8000
|
|
|
|
|
host: 10.10.14.187:8000
|
|
|
|
|
info:
|
|
|
|
|
contact: {}
|
|
|
|
|
description: 参考自xxl-sso
|
|
|
|
|
license: {}
|
|
|
|
|
title: 东师理想统一认证中心(OAuth2+Sso)
|
|
|
|
|
version: "2.0"
|
|
|
|
|
paths:
|
|
|
|
@ -118,6 +117,11 @@ paths:
|
|
|
|
|
- 登录验证类
|
|
|
|
|
/oauth2/authorize:
|
|
|
|
|
get:
|
|
|
|
|
X-EmptyLimit:
|
|
|
|
|
- client_id
|
|
|
|
|
- redirect_uri
|
|
|
|
|
- device_id
|
|
|
|
|
- oauth_callback
|
|
|
|
|
consumes:
|
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
|
description: 登录验证跳转路由
|
|
|
|
@ -152,12 +156,14 @@ paths:
|
|
|
|
|
summary: 登录验证跳转路由
|
|
|
|
|
tags:
|
|
|
|
|
- 登录验证类
|
|
|
|
|
x-emptylimit:
|
|
|
|
|
- client_id
|
|
|
|
|
- redirect_uri
|
|
|
|
|
- device_id
|
|
|
|
|
- oauth_callback
|
|
|
|
|
post:
|
|
|
|
|
X-EmptyLimit:
|
|
|
|
|
- username
|
|
|
|
|
- password
|
|
|
|
|
- captchaId
|
|
|
|
|
- value
|
|
|
|
|
X-IntLimit:
|
|
|
|
|
- device_id
|
|
|
|
|
consumes:
|
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
|
description: 验证post
|
|
|
|
@ -205,13 +211,6 @@ paths:
|
|
|
|
|
summary: 验证post
|
|
|
|
|
tags:
|
|
|
|
|
- 登录验证类
|
|
|
|
|
x-emptylimit:
|
|
|
|
|
- username
|
|
|
|
|
- password
|
|
|
|
|
- captchaId
|
|
|
|
|
- value
|
|
|
|
|
x-intlimit:
|
|
|
|
|
- device_id
|
|
|
|
|
/oauth2/bindWxUser:
|
|
|
|
|
get:
|
|
|
|
|
consumes:
|
|
|
|
@ -281,6 +280,8 @@ paths:
|
|
|
|
|
- 登录验证类
|
|
|
|
|
/oauth2/getCaptchaPng:
|
|
|
|
|
get:
|
|
|
|
|
X-LengthLimit:
|
|
|
|
|
- captchaId: 20,20
|
|
|
|
|
consumes:
|
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
|
description: 获取验证码图片
|
|
|
|
@ -300,8 +301,6 @@ paths:
|
|
|
|
|
summary: 获取验证码图片
|
|
|
|
|
tags:
|
|
|
|
|
- 登录验证类
|
|
|
|
|
x-lengthlimit:
|
|
|
|
|
- captchaId: 20,20
|
|
|
|
|
/oauth2/logout:
|
|
|
|
|
get:
|
|
|
|
|
consumes:
|
|
|
|
@ -325,6 +324,8 @@ paths:
|
|
|
|
|
- 登录验证类
|
|
|
|
|
/oauth2/resetRemainCount:
|
|
|
|
|
get:
|
|
|
|
|
X-EmptyLimit:
|
|
|
|
|
- userName
|
|
|
|
|
consumes:
|
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
|
description: 重置错误重试次数限制
|
|
|
|
@ -344,8 +345,6 @@ paths:
|
|
|
|
|
summary: 重置错误重试次数限制
|
|
|
|
|
tags:
|
|
|
|
|
- 登录验证类
|
|
|
|
|
x-emptylimit:
|
|
|
|
|
- userName
|
|
|
|
|
/oauth2/unBindWxUser:
|
|
|
|
|
get:
|
|
|
|
|
consumes:
|
|
|
|
@ -363,6 +362,8 @@ paths:
|
|
|
|
|
- 解除登录验证类
|
|
|
|
|
/oauth2/wxLogin:
|
|
|
|
|
post:
|
|
|
|
|
X-EmptyLimit:
|
|
|
|
|
- code
|
|
|
|
|
consumes:
|
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
|
description: 微信登录
|
|
|
|
@ -382,10 +383,10 @@ paths:
|
|
|
|
|
summary: 微信登录
|
|
|
|
|
tags:
|
|
|
|
|
- 登录验证类
|
|
|
|
|
x-emptylimit:
|
|
|
|
|
- code
|
|
|
|
|
/sso/getAppInfoById:
|
|
|
|
|
get:
|
|
|
|
|
X-IntLimit:
|
|
|
|
|
- app_id
|
|
|
|
|
consumes:
|
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
|
description: 根据appId获取接入第三方统一认证系统的信息
|
|
|
|
@ -405,8 +406,6 @@ paths:
|
|
|
|
|
summary: 根据appId获取接入第三方统一认证系统的信息
|
|
|
|
|
tags:
|
|
|
|
|
- 接入系统维护类
|
|
|
|
|
x-intlimit:
|
|
|
|
|
- app_id
|
|
|
|
|
/sso/login:
|
|
|
|
|
get:
|
|
|
|
|
consumes:
|
|
|
|
|