|
@@ -0,0 +1,1586 @@
|
|
|
|
|
+{
|
|
|
|
|
+ "openapi": "3.0.1",
|
|
|
|
|
+ "info": {
|
|
|
|
|
+ "title": "默认模块",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "version": "1.0.0"
|
|
|
|
|
+ },
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "paths": {
|
|
|
|
|
+ "/qa/groupList": {
|
|
|
|
|
+ "get": {
|
|
|
|
|
+ "summary": "分类列表",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "page",
|
|
|
|
|
+ "in": "query",
|
|
|
|
|
+ "description": "第几页",
|
|
|
|
|
+ "required": false,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "size",
|
|
|
|
|
+ "in": "query",
|
|
|
|
|
+ "description": "每页显示条数",
|
|
|
|
|
+ "required": false,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/ResultPageQaGroup"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "3": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "4": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "5": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "6": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": "",
|
|
|
|
|
+ "sort": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "7": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": "",
|
|
|
|
|
+ "sort": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/add": {
|
|
|
|
|
+ "post": {
|
|
|
|
|
+ "summary": "新增",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [],
|
|
|
|
|
+ "requestBody": {
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/QaGroupRO",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/Result",
|
|
|
|
|
+ "description": "统一API响应结果封装"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "3": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "4": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "5": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "6": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/update/{id:^\\d+$}": {
|
|
|
|
|
+ "post": {
|
|
|
|
|
+ "summary": "修改",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "id",
|
|
|
|
|
+ "in": "path",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "required": true,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "requestBody": {
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/QaGroupRO",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/Result",
|
|
|
|
|
+ "description": "统一API响应结果封装"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "3": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "4": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/disable/{id:^\\d+$}": {
|
|
|
|
|
+ "post": {
|
|
|
|
|
+ "summary": "禁用",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "id",
|
|
|
|
|
+ "in": "path",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "required": true,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/Result",
|
|
|
|
|
+ "description": "统一API响应结果封装"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/changeStatus/{id:^\\d+$}": {
|
|
|
|
|
+ "post": {
|
|
|
|
|
+ "summary": "修改状态",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "id",
|
|
|
|
|
+ "in": "path",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "required": true,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/Result",
|
|
|
|
|
+ "description": "统一API响应结果封装"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/availableGroupList": {
|
|
|
|
|
+ "get": {
|
|
|
|
|
+ "summary": "可用分组列表",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/ResultListQaGroup"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": "",
|
|
|
|
|
+ "sort": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "3": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": "",
|
|
|
|
|
+ "sort": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/qaList": {
|
|
|
|
|
+ "get": {
|
|
|
|
|
+ "summary": "qa列表",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "page",
|
|
|
|
|
+ "in": "query",
|
|
|
|
|
+ "description": "第几页",
|
|
|
|
|
+ "required": false,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "size",
|
|
|
|
|
+ "in": "query",
|
|
|
|
|
+ "description": "每页显示条数",
|
|
|
|
|
+ "required": false,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "groupId",
|
|
|
|
|
+ "in": "query",
|
|
|
|
|
+ "description": "分类ID",
|
|
|
|
|
+ "required": false,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/ResultPageQaListVO"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "bnTitle": "",
|
|
|
|
|
+ "enTitle": "",
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "groupDelFlag": false,
|
|
|
|
|
+ "groupId": 0,
|
|
|
|
|
+ "groupBnName": "",
|
|
|
|
|
+ "groupEnName": "",
|
|
|
|
|
+ "sort": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "records": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "bnTitle": "",
|
|
|
|
|
+ "enTitle": "",
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "groupDelFlag": false,
|
|
|
|
|
+ "groupId": 0,
|
|
|
|
|
+ "groupBnName": "",
|
|
|
|
|
+ "groupEnName": "",
|
|
|
|
|
+ "sort": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "total": 0,
|
|
|
|
|
+ "size": 0,
|
|
|
|
|
+ "current": 0,
|
|
|
|
|
+ "orders": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "column": "",
|
|
|
|
|
+ "asc": false
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "optimizeCountSql": false,
|
|
|
|
|
+ "searchCount": false,
|
|
|
|
|
+ "optimizeJoinOfCountSql": false,
|
|
|
|
|
+ "maxLimit": 0,
|
|
|
|
|
+ "countId": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/addQa": {
|
|
|
|
|
+ "post": {
|
|
|
|
|
+ "summary": "新增qa",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [],
|
|
|
|
|
+ "requestBody": {
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/QaRO",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/Result",
|
|
|
|
|
+ "description": "统一API响应结果封装"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/updateQa/{id:^\\d+$}": {
|
|
|
|
|
+ "post": {
|
|
|
|
|
+ "summary": "修改qa",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "id",
|
|
|
|
|
+ "in": "path",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "required": true,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "requestBody": {
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/QaRO",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/Result",
|
|
|
|
|
+ "description": "统一API响应结果封装"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/changeQaStatus/{id:^\\d+$}": {
|
|
|
|
|
+ "post": {
|
|
|
|
|
+ "summary": "修改qa状态",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "id",
|
|
|
|
|
+ "in": "path",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "required": true,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/Result",
|
|
|
|
|
+ "description": "统一API响应结果封装"
|
|
|
|
|
+ },
|
|
|
|
|
+ "examples": {
|
|
|
|
|
+ "1": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "2": {
|
|
|
|
|
+ "summary": "成功示例",
|
|
|
|
|
+ "value": {
|
|
|
|
|
+ "code": "200",
|
|
|
|
|
+ "message": "操作成功",
|
|
|
|
|
+ "data": {}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/groupInfo/{id:^\\d+$}": {
|
|
|
|
|
+ "get": {
|
|
|
|
|
+ "summary": "分组详情",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "id",
|
|
|
|
|
+ "in": "path",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "required": true,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/ResultQaGroup"
|
|
|
|
|
+ },
|
|
|
|
|
+ "example": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "bnName": "",
|
|
|
|
|
+ "enName": "",
|
|
|
|
|
+ "sort": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "/qa/qaInfo/{id:^\\d+$}": {
|
|
|
|
|
+ "get": {
|
|
|
|
|
+ "summary": "qaInfo",
|
|
|
|
|
+ "deprecated": false,
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "tags": [],
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "id",
|
|
|
|
|
+ "in": "path",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "required": true,
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "application/json": {
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/components/schemas/ResultQa"
|
|
|
|
|
+ },
|
|
|
|
|
+ "example": {
|
|
|
|
|
+ "code": "",
|
|
|
|
|
+ "message": "",
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "id": 0,
|
|
|
|
|
+ "bnTitle": "",
|
|
|
|
|
+ "enTitle": "",
|
|
|
|
|
+ "bnContent": "",
|
|
|
|
|
+ "enContent": "",
|
|
|
|
|
+ "createUser": "",
|
|
|
|
|
+ "updateUser": "",
|
|
|
|
|
+ "updateTime": "",
|
|
|
|
|
+ "createTime": "",
|
|
|
|
|
+ "delFlag": false,
|
|
|
|
|
+ "groupId": 0,
|
|
|
|
|
+ "sort": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "apikey-header-accesstoken": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "components": {
|
|
|
|
|
+ "schemas": {
|
|
|
|
|
+ "QaGroup": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "id": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "null",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ },
|
|
|
|
|
+ "createUser": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "创建人"
|
|
|
|
|
+ },
|
|
|
|
|
+ "updateUser": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "更新人"
|
|
|
|
|
+ },
|
|
|
|
|
+ "updateTime": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "更新时间"
|
|
|
|
|
+ },
|
|
|
|
|
+ "createTime": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "创建时间"
|
|
|
|
|
+ },
|
|
|
|
|
+ "delFlag": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "删除标识"
|
|
|
|
|
+ },
|
|
|
|
|
+ "bnName": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "孟加拉分类名称"
|
|
|
|
|
+ },
|
|
|
|
|
+ "enName": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "英文分类名称"
|
|
|
|
|
+ },
|
|
|
|
|
+ "sort": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "排序"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "OrderItem": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "column": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "asc": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "default": true
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "PageQaGroup": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "records": {
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/components/schemas/QaGroup",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "description": "查询数据列表",
|
|
|
|
|
+ "default": "Collections.emptyList()"
|
|
|
|
|
+ },
|
|
|
|
|
+ "total": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "总数",
|
|
|
|
|
+ "format": "int64",
|
|
|
|
|
+ "default": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ "size": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "每页显示条数,默认 10",
|
|
|
|
|
+ "format": "int64",
|
|
|
|
|
+ "default": 10
|
|
|
|
|
+ },
|
|
|
|
|
+ "current": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "当前页",
|
|
|
|
|
+ "format": "int64",
|
|
|
|
|
+ "default": 1
|
|
|
|
|
+ },
|
|
|
|
|
+ "orders": {
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/components/schemas/OrderItem",
|
|
|
|
|
+ "description": "com.baomidou.mybatisplus.core.metadata.OrderItem"
|
|
|
|
|
+ },
|
|
|
|
|
+ "description": "排序字段信息",
|
|
|
|
|
+ "default": "new ArrayList<>()"
|
|
|
|
|
+ },
|
|
|
|
|
+ "optimizeCountSql": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "自动优化 COUNT SQL",
|
|
|
|
|
+ "default": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "searchCount": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "是否进行 count 查询",
|
|
|
|
|
+ "default": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "optimizeJoinOfCountSql": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "{@link #optimizeJoinOfCountSql()}",
|
|
|
|
|
+ "default": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "maxLimit": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "单页分页条数限制",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ },
|
|
|
|
|
+ "countId": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "countId"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "ResultPageQaGroup": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "code": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "message": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "$ref": "#/components/schemas/PageQaGroup",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "QaGroupParam": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "page": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "第几页"
|
|
|
|
|
+ },
|
|
|
|
|
+ "size": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "每页显示条数"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "QaGroupRO": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "bnName": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "孟加拉分类名称"
|
|
|
|
|
+ },
|
|
|
|
|
+ "enName": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "英文分类名称"
|
|
|
|
|
+ },
|
|
|
|
|
+ "sort": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "排序"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": [
|
|
|
|
|
+ "bnName",
|
|
|
|
|
+ "enName",
|
|
|
|
|
+ "sort"
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ "ResultListQaGroup": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "code": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "message": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/components/schemas/QaGroup",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "ResultQaGroup": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "code": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "message": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "$ref": "#/components/schemas/QaGroup",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "Result": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "code": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "message": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {},
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "QaListVO": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "id": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ },
|
|
|
|
|
+ "bnTitle": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "孟加拉标题"
|
|
|
|
|
+ },
|
|
|
|
|
+ "enTitle": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "英文标题"
|
|
|
|
|
+ },
|
|
|
|
|
+ "createUser": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "创建人"
|
|
|
|
|
+ },
|
|
|
|
|
+ "updateUser": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "更新人"
|
|
|
|
|
+ },
|
|
|
|
|
+ "updateTime": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "更新时间"
|
|
|
|
|
+ },
|
|
|
|
|
+ "createTime": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "创建时间"
|
|
|
|
|
+ },
|
|
|
|
|
+ "delFlag": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "删除标识"
|
|
|
|
|
+ },
|
|
|
|
|
+ "groupDelFlag": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "分类删除标识"
|
|
|
|
|
+ },
|
|
|
|
|
+ "groupId": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "分类id",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ },
|
|
|
|
|
+ "groupBnName": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "分类名称"
|
|
|
|
|
+ },
|
|
|
|
|
+ "groupEnName": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "分类名称"
|
|
|
|
|
+ },
|
|
|
|
|
+ "sort": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "排序"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "PageQaListVO": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "records": {
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/components/schemas/QaListVO",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "description": "查询数据列表",
|
|
|
|
|
+ "default": "Collections.emptyList()"
|
|
|
|
|
+ },
|
|
|
|
|
+ "total": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "总数",
|
|
|
|
|
+ "format": "int64",
|
|
|
|
|
+ "default": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ "size": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "每页显示条数,默认 10",
|
|
|
|
|
+ "format": "int64",
|
|
|
|
|
+ "default": 10
|
|
|
|
|
+ },
|
|
|
|
|
+ "current": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "当前页",
|
|
|
|
|
+ "format": "int64",
|
|
|
|
|
+ "default": 1
|
|
|
|
|
+ },
|
|
|
|
|
+ "orders": {
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/components/schemas/OrderItem",
|
|
|
|
|
+ "description": "com.baomidou.mybatisplus.core.metadata.OrderItem"
|
|
|
|
|
+ },
|
|
|
|
|
+ "description": "排序字段信息",
|
|
|
|
|
+ "default": "new ArrayList<>()"
|
|
|
|
|
+ },
|
|
|
|
|
+ "optimizeCountSql": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "自动优化 COUNT SQL",
|
|
|
|
|
+ "default": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "searchCount": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "是否进行 count 查询",
|
|
|
|
|
+ "default": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "optimizeJoinOfCountSql": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "{@link #optimizeJoinOfCountSql()}",
|
|
|
|
|
+ "default": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "maxLimit": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "单页分页条数限制",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ },
|
|
|
|
|
+ "countId": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "countId"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "ResultPageQaListVO": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "code": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "message": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "$ref": "#/components/schemas/PageQaListVO",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "QaRO": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "bnTitle": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "孟加拉标题"
|
|
|
|
|
+ },
|
|
|
|
|
+ "enTitle": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "英文标题"
|
|
|
|
|
+ },
|
|
|
|
|
+ "bnContent": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "孟加拉内容"
|
|
|
|
|
+ },
|
|
|
|
|
+ "enContent": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "英文内容"
|
|
|
|
|
+ },
|
|
|
|
|
+ "groupId": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "分类ID",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ },
|
|
|
|
|
+ "delFlag": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "删除标识"
|
|
|
|
|
+ },
|
|
|
|
|
+ "sort": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "排序"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": [
|
|
|
|
|
+ "bnTitle",
|
|
|
|
|
+ "enTitle",
|
|
|
|
|
+ "bnContent",
|
|
|
|
|
+ "enContent",
|
|
|
|
|
+ "groupId",
|
|
|
|
|
+ "delFlag",
|
|
|
|
|
+ "sort"
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ "Qa": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "id": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "null",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ },
|
|
|
|
|
+ "bnTitle": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "孟加拉标题"
|
|
|
|
|
+ },
|
|
|
|
|
+ "enTitle": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "英文标题"
|
|
|
|
|
+ },
|
|
|
|
|
+ "bnContent": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "孟加拉内容"
|
|
|
|
|
+ },
|
|
|
|
|
+ "enContent": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "英文内容"
|
|
|
|
|
+ },
|
|
|
|
|
+ "createUser": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "创建人"
|
|
|
|
|
+ },
|
|
|
|
|
+ "updateUser": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "更新人"
|
|
|
|
|
+ },
|
|
|
|
|
+ "updateTime": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "更新时间"
|
|
|
|
|
+ },
|
|
|
|
|
+ "createTime": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "创建时间"
|
|
|
|
|
+ },
|
|
|
|
|
+ "delFlag": {
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "description": "删除标识"
|
|
|
|
|
+ },
|
|
|
|
|
+ "groupId": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "分类id",
|
|
|
|
|
+ "format": "int64"
|
|
|
|
|
+ },
|
|
|
|
|
+ "sort": {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "排序"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "ResultQa": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "code": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "message": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ },
|
|
|
|
|
+ "data": {
|
|
|
|
|
+ "$ref": "#/components/schemas/Qa",
|
|
|
|
|
+ "description": ""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "responses": {},
|
|
|
|
|
+ "securitySchemes": {
|
|
|
|
|
+ "apikey-header-accesstoken": {
|
|
|
|
|
+ "type": "apiKey",
|
|
|
|
|
+ "in": "header",
|
|
|
|
|
+ "name": "accesstoken"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "servers": [],
|
|
|
|
|
+ "security": []
|
|
|
|
|
+}
|