|
|
@ -200,6 +200,38 @@ var doc = `{
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
"/oauth2/checkOpenId": {
|
|
|
|
|
|
|
|
"get": {
|
|
|
|
|
|
|
|
"description": "检查OPENID的是否已经绑定",
|
|
|
|
|
|
|
|
"consumes": [
|
|
|
|
|
|
|
|
"application/x-www-form-urlencoded"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"produces": [
|
|
|
|
|
|
|
|
"application/json"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"tags": [
|
|
|
|
|
|
|
|
"登录验证类"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"summary": "检查OPENID的是否已经绑定",
|
|
|
|
|
|
|
|
"parameters": [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"type": "string",
|
|
|
|
|
|
|
|
"description": "OpenId",
|
|
|
|
|
|
|
|
"name": "openid",
|
|
|
|
|
|
|
|
"in": "query",
|
|
|
|
|
|
|
|
"required": true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"responses": {
|
|
|
|
|
|
|
|
"200": {
|
|
|
|
|
|
|
|
"description": "OK",
|
|
|
|
|
|
|
|
"schema": {
|
|
|
|
|
|
|
|
"type": "string"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
"/oauth2/getCaptcha": {
|
|
|
|
"/oauth2/getCaptcha": {
|
|
|
|
"get": {
|
|
|
|
"get": {
|
|
|
|
"description": "获取验证码(为了以后WEB服务器的集群扩展,将验证码保存到redis中,避免ip_hash)",
|
|
|
|
"description": "获取验证码(为了以后WEB服务器的集群扩展,将验证码保存到redis中,避免ip_hash)",
|
|
|
@ -706,7 +738,7 @@ type swaggerInfo struct {
|
|
|
|
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
|
|
|
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
|
|
|
var SwaggerInfo = swaggerInfo{
|
|
|
|
var SwaggerInfo = swaggerInfo{
|
|
|
|
Version: "2.0",
|
|
|
|
Version: "2.0",
|
|
|
|
Host: "127.0.0.1:8000",
|
|
|
|
Host: "10.10.14.187:8000",
|
|
|
|
BasePath: "",
|
|
|
|
BasePath: "",
|
|
|
|
Schemes: []string{},
|
|
|
|
Schemes: []string{},
|
|
|
|
Title: "东师理想统一认证中心(OAuth2+Sso)",
|
|
|
|
Title: "东师理想统一认证中心(OAuth2+Sso)",
|
|
|
|