|
|
|
@ -1227,9 +1227,9 @@ var doc = `{
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/support/login/account": {
|
|
|
|
|
"/v1/openapi/account/login": {
|
|
|
|
|
"post": {
|
|
|
|
|
"description": "json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"\njson:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"",
|
|
|
|
|
"description": "json:\"username\" xorm:\"not null comment('账号') VARCHAR(100)\" example:\"example\"\njson:\"password\" xorm:\"not null comment('密码') VARCHAR(100)\" example:\"123456\"",
|
|
|
|
|
"consumes": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
@ -1237,13 +1237,13 @@ var doc = `{
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"tags": [
|
|
|
|
|
"登录"
|
|
|
|
|
"account"
|
|
|
|
|
],
|
|
|
|
|
"summary": "登录",
|
|
|
|
|
"operationId": "Account",
|
|
|
|
|
"summary": "后台登陆",
|
|
|
|
|
"operationId": "loginAccount",
|
|
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"description": "登录",
|
|
|
|
|
"description": "账号密码",
|
|
|
|
|
"name": "input",
|
|
|
|
|
"in": "body",
|
|
|
|
|
"required": true,
|
|
|
|
@ -2819,13 +2819,28 @@ var doc = `{
|
|
|
|
|
"MySwagger.Result": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"data": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"fail": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"example": false
|
|
|
|
|
},
|
|
|
|
|
"message": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"example": "接入系统票据验证失败"
|
|
|
|
|
"example": "操作成功"
|
|
|
|
|
},
|
|
|
|
|
"success": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"example": false
|
|
|
|
|
"example": true
|
|
|
|
|
},
|
|
|
|
|
"total": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"example": 120
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -2858,6 +2873,10 @@ var doc = `{
|
|
|
|
|
{
|
|
|
|
|
"description": "机构目录",
|
|
|
|
|
"name": "orgtree"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"description": "后台登陆",
|
|
|
|
|
"name": "account"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}`
|
|
|
|
|