3568 lines
117 KiB
JSON
3568 lines
117 KiB
JSON
{
|
||
"swagger": "2.0",
|
||
"info": {
|
||
"description": "提供管理接口",
|
||
"title": "Golang Server API",
|
||
"contact": {},
|
||
"version": "2.0"
|
||
},
|
||
"host": "localhost:8080",
|
||
"basePath": "/api",
|
||
"paths": {
|
||
"/platform-users": {
|
||
"get": {
|
||
"tags": [
|
||
"平台用户"
|
||
],
|
||
"summary": "获取平台用户列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"平台用户"
|
||
],
|
||
"summary": "创建平台用户",
|
||
"parameters": [
|
||
{
|
||
"description": "平台用户信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/dto.CreatePlatformUserRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/platform-users/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"平台用户"
|
||
],
|
||
"summary": "获取平台用户详情",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"平台用户"
|
||
],
|
||
"summary": "更新平台用户",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "平台用户信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/dto.UpdatePlatformUserRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"平台用户"
|
||
],
|
||
"summary": "删除平台用户",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"patch": {
|
||
"tags": [
|
||
"平台用户"
|
||
],
|
||
"summary": "动态字段更新",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "要更新的字段",
|
||
"name": "fields",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "object",
|
||
"additionalProperties": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys-users": {
|
||
"get": {
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "获取用户列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/vo.SysUserVO"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "创建用户",
|
||
"parameters": [
|
||
{
|
||
"description": "用户信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/server_modules_system_dto.CreateUserRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.SysUserVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys-users/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "获取单个用户",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "用户ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.SysUserVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "更新用户",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "用户ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "用户信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/server_modules_system_dto.UpdateUserRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.SysUserVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "删除用户",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "用户ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"patch": {
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "动态字段更新",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "用户ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "要更新的字段",
|
||
"name": "fields",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "object",
|
||
"additionalProperties": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys-users/{id}/password": {
|
||
"put": {
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "修改密码",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "用户ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "密码信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/controller.UpdatePasswordRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/auth/info": {
|
||
"get": {
|
||
"tags": [
|
||
"认证"
|
||
],
|
||
"summary": "Sys获取当前登录用户信息",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/auth/login": {
|
||
"post": {
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"认证"
|
||
],
|
||
"summary": "Sys用户登录",
|
||
"parameters": [
|
||
{
|
||
"description": "登录信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/controller.LoginRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/sys/auth/logout": {
|
||
"post": {
|
||
"tags": [
|
||
"认证"
|
||
],
|
||
"summary": "Sys用户登出",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/auth/info": {
|
||
"get": {
|
||
"tags": [
|
||
"认证"
|
||
],
|
||
"summary": "获取当前登录用户信息",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/auth/login": {
|
||
"post": {
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"认证"
|
||
],
|
||
"summary": "用户登录",
|
||
"parameters": [
|
||
{
|
||
"description": "登录信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/controller.LoginRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/auth/logout": {
|
||
"post": {
|
||
"tags": [
|
||
"认证"
|
||
],
|
||
"summary": "用户登出",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/major/list": {
|
||
"get": {
|
||
"tags": [
|
||
"用户专业"
|
||
],
|
||
"summary": "获取当前用户可检索列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 10,
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"default": "\"\"",
|
||
"description": "批次(本科提前批/本科A段/本科B段/本科/高职高专)",
|
||
"name": "batch",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"default": "\"\"",
|
||
"description": "录取概率类型(难录取/可冲击/较稳妥/可保底)",
|
||
"name": "probability",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/major/list_by_school": {
|
||
"get": {
|
||
"tags": [
|
||
"用户专业"
|
||
],
|
||
"summary": "获取当前院校下其他专业数据",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 10,
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "院校代码",
|
||
"name": "school_code",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"default": "\"\"",
|
||
"description": "录取概率类型(难录取/可冲击/较稳妥/可保底)",
|
||
"name": "probability",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/score": {
|
||
"get": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "获取当前用户的激活分数",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/score/list": {
|
||
"get": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "获取当前用户的成绩列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 10,
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/score/save-score": {
|
||
"post": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "保存用户成绩",
|
||
"parameters": [
|
||
{
|
||
"description": "成绩信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/dto.SaveScoreRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/score/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "获取指定 ID 的分数",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "成绩ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/volunteer/delete": {
|
||
"delete": {
|
||
"tags": [
|
||
"用户志愿"
|
||
],
|
||
"summary": "删除志愿单接口",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "志愿单ID",
|
||
"name": "id",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/volunteer/detail": {
|
||
"get": {
|
||
"tags": [
|
||
"用户志愿"
|
||
],
|
||
"summary": "获取当前志愿单详情",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.VolunteerDetailResponse"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/volunteer/list": {
|
||
"get": {
|
||
"tags": [
|
||
"用户志愿"
|
||
],
|
||
"summary": "获取当前用户志愿单列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/volunteer/save": {
|
||
"post": {
|
||
"tags": [
|
||
"用户志愿"
|
||
],
|
||
"summary": "保存志愿明细",
|
||
"parameters": [
|
||
{
|
||
"description": "志愿键列表",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/dto.SaveVolunteerRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/volunteer/switch": {
|
||
"post": {
|
||
"tags": [
|
||
"用户志愿"
|
||
],
|
||
"summary": "切换当前志愿单",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "志愿单ID",
|
||
"name": "id",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/user/volunteer/updateName": {
|
||
"put": {
|
||
"tags": [
|
||
"用户志愿"
|
||
],
|
||
"summary": "编辑志愿单名称",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "志愿单ID",
|
||
"name": "id",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "志愿单名称",
|
||
"name": "name",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/users": {
|
||
"get": {
|
||
"tags": [
|
||
"用户"
|
||
],
|
||
"summary": "获取用户列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"用户"
|
||
],
|
||
"summary": "创建用户",
|
||
"parameters": [
|
||
{
|
||
"description": "用户信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/server_modules_user_dto.CreateUserRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/users/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"用户"
|
||
],
|
||
"summary": "获取用户详情",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"用户"
|
||
],
|
||
"summary": "更新用户",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "用户信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/server_modules_user_dto.UpdateUserRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"用户"
|
||
],
|
||
"summary": "删除用户",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"patch": {
|
||
"tags": [
|
||
"用户"
|
||
],
|
||
"summary": "动态字段更新",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "要更新的字段",
|
||
"name": "fields",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "object",
|
||
"additionalProperties": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-calculation-majors": {
|
||
"get": {
|
||
"tags": [
|
||
"计算专业"
|
||
],
|
||
"summary": "获取计算专业列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/vo.YxCalculationMajorVO"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"计算专业"
|
||
],
|
||
"summary": "创建计算专业",
|
||
"parameters": [
|
||
{
|
||
"description": "计算专业信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/dto.CreateCalculationMajorRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.YxCalculationMajorVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-calculation-majors/batch": {
|
||
"post": {
|
||
"tags": [
|
||
"计算专业"
|
||
],
|
||
"summary": "批量创建计算专业",
|
||
"parameters": [
|
||
{
|
||
"description": "计算专业列表",
|
||
"name": "items",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/dto.CreateCalculationMajorRequest"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"计算专业"
|
||
],
|
||
"summary": "批量删除计算专业",
|
||
"parameters": [
|
||
{
|
||
"description": "ID列表",
|
||
"name": "ids",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-calculation-majors/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"计算专业"
|
||
],
|
||
"summary": "获取单个计算专业",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.YxCalculationMajorVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"计算专业"
|
||
],
|
||
"summary": "更新计算专业",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "计算专业信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/dto.UpdateCalculationMajorRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.YxCalculationMajorVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"计算专业"
|
||
],
|
||
"summary": "删除计算专业",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"patch": {
|
||
"tags": [
|
||
"计算专业"
|
||
],
|
||
"summary": "动态字段更新",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "要更新的字段",
|
||
"name": "fields",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "object",
|
||
"additionalProperties": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-history-enrolls": {
|
||
"get": {
|
||
"tags": [
|
||
"历年招生"
|
||
],
|
||
"summary": "获取历年招生列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"历年招生"
|
||
],
|
||
"summary": "创建历年招生记录",
|
||
"parameters": [
|
||
{
|
||
"description": "历年招生信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/entity.YxHistoryMajorEnroll"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-history-enrolls/batch": {
|
||
"post": {
|
||
"tags": [
|
||
"历年招生"
|
||
],
|
||
"summary": "批量创建历年招生记录",
|
||
"parameters": [
|
||
{
|
||
"description": "历年招生列表",
|
||
"name": "items",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/entity.YxHistoryMajorEnroll"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"历年招生"
|
||
],
|
||
"summary": "批量删除历年招生记录",
|
||
"parameters": [
|
||
{
|
||
"description": "ID列表",
|
||
"name": "ids",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-history-enrolls/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"历年招生"
|
||
],
|
||
"summary": "获取单个历年招生记录",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"历年招生"
|
||
],
|
||
"summary": "更新历年招生记录",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "历年招生信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/entity.YxHistoryMajorEnroll"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"历年招生"
|
||
],
|
||
"summary": "删除历年招生记录",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"patch": {
|
||
"tags": [
|
||
"历年招生"
|
||
],
|
||
"summary": "动态字段更新",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "要更新的字段",
|
||
"name": "fields",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "object",
|
||
"additionalProperties": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-school-majors": {
|
||
"get": {
|
||
"tags": [
|
||
"院校专业"
|
||
],
|
||
"summary": "获取院校专业列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"院校专业"
|
||
],
|
||
"summary": "创建院校专业",
|
||
"parameters": [
|
||
{
|
||
"description": "院校专业信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/entity.YxSchoolMajor"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-school-majors/batch": {
|
||
"post": {
|
||
"tags": [
|
||
"院校专业"
|
||
],
|
||
"summary": "批量创建院校专业",
|
||
"parameters": [
|
||
{
|
||
"description": "院校专业列表",
|
||
"name": "items",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/entity.YxSchoolMajor"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"院校专业"
|
||
],
|
||
"summary": "批量删除院校专业",
|
||
"parameters": [
|
||
{
|
||
"description": "ID列表",
|
||
"name": "ids",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-school-majors/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"院校专业"
|
||
],
|
||
"summary": "获取单个院校专业",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"院校专业"
|
||
],
|
||
"summary": "更新院校专业",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "院校专业信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/entity.YxSchoolMajor"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"院校专业"
|
||
],
|
||
"summary": "删除院校专业",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"patch": {
|
||
"tags": [
|
||
"院校专业"
|
||
],
|
||
"summary": "动态字段更新",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "要更新的字段",
|
||
"name": "fields",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"type": "object",
|
||
"additionalProperties": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-user-scores": {
|
||
"get": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "获取用户分数列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 10,
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "创建用户分数",
|
||
"parameters": [
|
||
{
|
||
"description": "用户分数信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/entity.YxUserScore"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-user-scores/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "获取单个用户分数",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "更新用户分数",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "用户分数信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/entity.YxUserScore"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"用户分数"
|
||
],
|
||
"summary": "删除用户分数",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-volunteer-records": {
|
||
"get": {
|
||
"tags": [
|
||
"志愿明细"
|
||
],
|
||
"summary": "获取志愿明细列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 10,
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"志愿明细"
|
||
],
|
||
"summary": "创建志愿明细",
|
||
"parameters": [
|
||
{
|
||
"description": "志愿明细信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/entity.YxVolunteerRecord"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-volunteer-records/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"志愿明细"
|
||
],
|
||
"summary": "获取单个志愿明细",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"志愿明细"
|
||
],
|
||
"summary": "更新志愿明细",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "志愿明细信息",
|
||
"name": "item",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/entity.YxVolunteerRecord"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"志愿明细"
|
||
],
|
||
"summary": "删除志愿明细",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-volunteers": {
|
||
"get": {
|
||
"tags": [
|
||
"志愿"
|
||
],
|
||
"summary": "获取志愿列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "页码",
|
||
"name": "page",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 10,
|
||
"description": "每页数量",
|
||
"name": "size",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/vo.YxVolunteerVO"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"post": {
|
||
"tags": [
|
||
"志愿"
|
||
],
|
||
"summary": "创建志愿",
|
||
"parameters": [
|
||
{
|
||
"description": "志愿信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/dto.CreateVolunteerRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.YxVolunteerVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/yx-volunteers/{id}": {
|
||
"get": {
|
||
"tags": [
|
||
"志愿"
|
||
],
|
||
"summary": "获取单个志愿",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.YxVolunteerVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"put": {
|
||
"tags": [
|
||
"志愿"
|
||
],
|
||
"summary": "更新志愿",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "志愿信息",
|
||
"name": "request",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/dto.UpdateVolunteerRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/common.Response"
|
||
},
|
||
{
|
||
"type": "object",
|
||
"properties": {
|
||
"data": {
|
||
"$ref": "#/definitions/vo.YxVolunteerVO"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"delete": {
|
||
"tags": [
|
||
"志愿"
|
||
],
|
||
"summary": "删除志愿",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/common.Response"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"definitions": {
|
||
"common.Response": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer"
|
||
},
|
||
"data": {},
|
||
"message": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"controller.LoginRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"password",
|
||
"username"
|
||
],
|
||
"properties": {
|
||
"password": {
|
||
"type": "string"
|
||
},
|
||
"username": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"controller.UpdatePasswordRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"newPassword",
|
||
"oldPassword"
|
||
],
|
||
"properties": {
|
||
"newPassword": {
|
||
"type": "string"
|
||
},
|
||
"oldPassword": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"dto.CreateCalculationMajorRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"majorCode",
|
||
"schoolCode"
|
||
],
|
||
"properties": {
|
||
"batch": {
|
||
"description": "批次",
|
||
"type": "string"
|
||
},
|
||
"category": {
|
||
"description": "类别",
|
||
"type": "string"
|
||
},
|
||
"chineseScoreLimitation": {
|
||
"description": "语文分数限制",
|
||
"type": "number"
|
||
},
|
||
"culturalScoreLimitation": {
|
||
"description": "文化成绩限制",
|
||
"type": "number"
|
||
},
|
||
"detail": {
|
||
"description": "详情",
|
||
"type": "string"
|
||
},
|
||
"englishScoreLimitation": {
|
||
"description": "英语分数限制",
|
||
"type": "number"
|
||
},
|
||
"enrollProbability": {
|
||
"description": "录取概率",
|
||
"type": "number"
|
||
},
|
||
"enrollmentCode": {
|
||
"description": "招生代码",
|
||
"type": "string"
|
||
},
|
||
"institutionType": {
|
||
"description": "院校类型",
|
||
"type": "string"
|
||
},
|
||
"kslx": {
|
||
"description": "考试类型",
|
||
"type": "string"
|
||
},
|
||
"limitation": {
|
||
"description": "限制条件",
|
||
"type": "string"
|
||
},
|
||
"mainSubjects": {
|
||
"description": "主考科目",
|
||
"type": "string"
|
||
},
|
||
"majorCode": {
|
||
"description": "专业代码",
|
||
"type": "string"
|
||
},
|
||
"majorName": {
|
||
"description": "专业名称",
|
||
"type": "string"
|
||
},
|
||
"majorType": {
|
||
"description": "专业类型",
|
||
"type": "string"
|
||
},
|
||
"majorTypeChild": {
|
||
"description": "子专业类型",
|
||
"type": "string"
|
||
},
|
||
"planNum": {
|
||
"description": "计划人数",
|
||
"type": "integer"
|
||
},
|
||
"probabilityOperator": {
|
||
"description": "概率操作符",
|
||
"type": "string"
|
||
},
|
||
"professionalScoreLimitation": {
|
||
"description": "专业分数限制",
|
||
"type": "number"
|
||
},
|
||
"province": {
|
||
"description": "省份",
|
||
"type": "string"
|
||
},
|
||
"rulesEnrollProbability": {
|
||
"description": "录取规则概率",
|
||
"type": "string"
|
||
},
|
||
"schoolCode": {
|
||
"description": "院校代码",
|
||
"type": "string"
|
||
},
|
||
"schoolName": {
|
||
"description": "院校名称",
|
||
"type": "string"
|
||
},
|
||
"schoolNature": {
|
||
"description": "院校性质",
|
||
"type": "string"
|
||
},
|
||
"state": {
|
||
"description": "状态",
|
||
"type": "string"
|
||
},
|
||
"studentScore": {
|
||
"description": "学生分数",
|
||
"type": "number"
|
||
},
|
||
"tuition": {
|
||
"description": "学费",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"dto.CreatePlatformUserRequest": {
|
||
"type": "object"
|
||
},
|
||
"dto.CreateVolunteerRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"scoreId",
|
||
"volunteerName"
|
||
],
|
||
"properties": {
|
||
"createType": {
|
||
"description": "生成类型(1.手动生成,2.智能生成)",
|
||
"type": "string"
|
||
},
|
||
"scoreId": {
|
||
"description": "关联成绩ID",
|
||
"type": "string"
|
||
},
|
||
"volunteerName": {
|
||
"description": "志愿单名称",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"dto.SaveScoreRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"ChineseScore",
|
||
"CognitioPolyclinic",
|
||
"CulturalScore",
|
||
"EnglishScore",
|
||
"ProfessionalCategory",
|
||
"ProfessionalCategoryChildren",
|
||
"ProfessionalCategoryChildrenScore",
|
||
"ProfessionalScore",
|
||
"Province",
|
||
"SubjectList"
|
||
],
|
||
"properties": {
|
||
"ChineseScore": {
|
||
"type": "number"
|
||
},
|
||
"CognitioPolyclinic": {
|
||
"type": "string"
|
||
},
|
||
"CulturalScore": {
|
||
"type": "number"
|
||
},
|
||
"EnglishScore": {
|
||
"type": "number"
|
||
},
|
||
"ProfessionalCategory": {
|
||
"type": "string"
|
||
},
|
||
"ProfessionalCategoryChildren": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"ProfessionalCategoryChildrenScore": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "number",
|
||
"format": "float64"
|
||
}
|
||
},
|
||
"ProfessionalScore": {
|
||
"type": "number"
|
||
},
|
||
"Province": {
|
||
"type": "string"
|
||
},
|
||
"SubjectList": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"createBy": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"dto.SaveVolunteerRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"keys"
|
||
],
|
||
"properties": {
|
||
"keys": {
|
||
"description": "Keys: schoolCode_majorCode_enrollmentCode",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"dto.UpdateCalculationMajorRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"batch": {
|
||
"description": "批次",
|
||
"type": "string"
|
||
},
|
||
"category": {
|
||
"description": "类别",
|
||
"type": "string"
|
||
},
|
||
"chineseScoreLimitation": {
|
||
"description": "语文分数限制",
|
||
"type": "number"
|
||
},
|
||
"culturalScoreLimitation": {
|
||
"description": "文化成绩限制",
|
||
"type": "number"
|
||
},
|
||
"detail": {
|
||
"description": "详情",
|
||
"type": "string"
|
||
},
|
||
"englishScoreLimitation": {
|
||
"description": "英语分数限制",
|
||
"type": "number"
|
||
},
|
||
"enrollProbability": {
|
||
"description": "录取概率",
|
||
"type": "number"
|
||
},
|
||
"enrollmentCode": {
|
||
"description": "招生代码",
|
||
"type": "string"
|
||
},
|
||
"institutionType": {
|
||
"description": "院校类型",
|
||
"type": "string"
|
||
},
|
||
"kslx": {
|
||
"description": "考试类型",
|
||
"type": "string"
|
||
},
|
||
"limitation": {
|
||
"description": "限制条件",
|
||
"type": "string"
|
||
},
|
||
"mainSubjects": {
|
||
"description": "主考科目",
|
||
"type": "string"
|
||
},
|
||
"majorName": {
|
||
"description": "专业名称",
|
||
"type": "string"
|
||
},
|
||
"majorType": {
|
||
"description": "专业类型",
|
||
"type": "string"
|
||
},
|
||
"majorTypeChild": {
|
||
"description": "子专业类型",
|
||
"type": "string"
|
||
},
|
||
"planNum": {
|
||
"description": "计划人数",
|
||
"type": "integer"
|
||
},
|
||
"probabilityOperator": {
|
||
"description": "概率操作符",
|
||
"type": "string"
|
||
},
|
||
"professionalScoreLimitation": {
|
||
"description": "专业分数限制",
|
||
"type": "number"
|
||
},
|
||
"province": {
|
||
"description": "省份",
|
||
"type": "string"
|
||
},
|
||
"rulesEnrollProbability": {
|
||
"description": "录取规则概率",
|
||
"type": "string"
|
||
},
|
||
"schoolName": {
|
||
"description": "院校名称",
|
||
"type": "string"
|
||
},
|
||
"schoolNature": {
|
||
"description": "院校性质",
|
||
"type": "string"
|
||
},
|
||
"state": {
|
||
"description": "状态",
|
||
"type": "string"
|
||
},
|
||
"studentScore": {
|
||
"description": "学生分数",
|
||
"type": "number"
|
||
},
|
||
"tuition": {
|
||
"description": "学费",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"dto.UpdatePlatformUserRequest": {
|
||
"type": "object"
|
||
},
|
||
"dto.UpdateVolunteerRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"state": {
|
||
"description": "志愿单状态(0-否,1-正在使用,2-历史)",
|
||
"type": "string"
|
||
},
|
||
"volunteerName": {
|
||
"description": "志愿单名称",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"entity.YxHistoryMajorEnroll": {
|
||
"type": "object",
|
||
"properties": {
|
||
"actualPitcherNum": {
|
||
"type": "integer"
|
||
},
|
||
"admissionLine": {
|
||
"type": "number"
|
||
},
|
||
"admissionNum": {
|
||
"type": "integer"
|
||
},
|
||
"batch": {
|
||
"type": "string"
|
||
},
|
||
"category": {
|
||
"type": "string"
|
||
},
|
||
"checkMaster": {
|
||
"type": "string"
|
||
},
|
||
"controlLine": {
|
||
"type": "number"
|
||
},
|
||
"createBy": {
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"type": "string"
|
||
},
|
||
"detail": {
|
||
"type": "string"
|
||
},
|
||
"enrollNum": {
|
||
"type": "integer"
|
||
},
|
||
"enrollmentCode": {
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"institutionCode": {
|
||
"type": "string"
|
||
},
|
||
"mainSubjects": {
|
||
"type": "string"
|
||
},
|
||
"majorCode": {
|
||
"type": "string"
|
||
},
|
||
"majorName": {
|
||
"type": "string"
|
||
},
|
||
"majorType": {
|
||
"type": "string"
|
||
},
|
||
"majorTypeChild": {
|
||
"type": "string"
|
||
},
|
||
"oneVolunteerAdmissionNum": {
|
||
"type": "integer"
|
||
},
|
||
"probabilityOperator": {
|
||
"type": "string"
|
||
},
|
||
"rulesEnrollProbability": {
|
||
"type": "string"
|
||
},
|
||
"schoolCode": {
|
||
"type": "string"
|
||
},
|
||
"schoolName": {
|
||
"type": "string"
|
||
},
|
||
"scoreLineDifference": {
|
||
"type": "number"
|
||
},
|
||
"sysOrgCode": {
|
||
"type": "string"
|
||
},
|
||
"tuition": {
|
||
"type": "string"
|
||
},
|
||
"updateBy": {
|
||
"type": "string"
|
||
},
|
||
"updateTime": {
|
||
"type": "string"
|
||
},
|
||
"year": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"entity.YxSchoolMajor": {
|
||
"type": "object",
|
||
"properties": {
|
||
"batch": {
|
||
"type": "string"
|
||
},
|
||
"category": {
|
||
"type": "string"
|
||
},
|
||
"checkMaster": {
|
||
"type": "string"
|
||
},
|
||
"chineseScoreLimitation": {
|
||
"type": "number"
|
||
},
|
||
"createBy": {
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"type": "string"
|
||
},
|
||
"culturalControlLine": {
|
||
"type": "number"
|
||
},
|
||
"culturalScoreLimitation": {
|
||
"type": "number"
|
||
},
|
||
"detail": {
|
||
"type": "string"
|
||
},
|
||
"englishScoreLimitation": {
|
||
"type": "number"
|
||
},
|
||
"enrollmentCode": {
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"kslx": {
|
||
"type": "string"
|
||
},
|
||
"limitation": {
|
||
"type": "string"
|
||
},
|
||
"mainSubjects": {
|
||
"type": "string"
|
||
},
|
||
"majorCode": {
|
||
"type": "string"
|
||
},
|
||
"majorName": {
|
||
"type": "string"
|
||
},
|
||
"majorType": {
|
||
"type": "string"
|
||
},
|
||
"majorTypeChild": {
|
||
"type": "string"
|
||
},
|
||
"planNum": {
|
||
"type": "integer"
|
||
},
|
||
"privateProbabilityOperator": {
|
||
"type": "string"
|
||
},
|
||
"privateRulesEnrollProbability": {
|
||
"type": "string"
|
||
},
|
||
"probabilityOperator": {
|
||
"type": "string"
|
||
},
|
||
"professionalScoreLimitation": {
|
||
"type": "number"
|
||
},
|
||
"rulesEnrollProbability": {
|
||
"type": "string"
|
||
},
|
||
"rulesEnrollProbabilitySx": {
|
||
"type": "string"
|
||
},
|
||
"schoolCode": {
|
||
"type": "string"
|
||
},
|
||
"schoolName": {
|
||
"type": "string"
|
||
},
|
||
"semester": {
|
||
"type": "string"
|
||
},
|
||
"specialControlLine": {
|
||
"type": "number"
|
||
},
|
||
"state": {
|
||
"type": "string"
|
||
},
|
||
"tuition": {
|
||
"type": "string"
|
||
},
|
||
"updateBy": {
|
||
"type": "string"
|
||
},
|
||
"updateTime": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"entity.YxUserScore": {
|
||
"type": "object",
|
||
"properties": {
|
||
"batch": {
|
||
"description": "录取批次",
|
||
"type": "string"
|
||
},
|
||
"calculationTableName": {
|
||
"description": "记录结果表名",
|
||
"type": "string"
|
||
},
|
||
"chineseScore": {
|
||
"description": "语文成绩",
|
||
"type": "number"
|
||
},
|
||
"cognitioPolyclinic": {
|
||
"description": "文理分班(文科/理科)",
|
||
"type": "string"
|
||
},
|
||
"createBy": {
|
||
"description": "创建人",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"culturalScore": {
|
||
"description": "文化成绩分",
|
||
"type": "number"
|
||
},
|
||
"educationalLevel": {
|
||
"description": "学历层次(1-本科,2-专科)",
|
||
"type": "string"
|
||
},
|
||
"englishScore": {
|
||
"description": "英语成绩",
|
||
"type": "number"
|
||
},
|
||
"fzby": {
|
||
"description": "服装表演",
|
||
"type": "number"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"jwtNum": {
|
||
"description": "较稳妥专业数量",
|
||
"type": "integer"
|
||
},
|
||
"kbdNum": {
|
||
"description": "可保底专业数量",
|
||
"type": "integer"
|
||
},
|
||
"kcjNum": {
|
||
"description": "可冲击专业数量",
|
||
"type": "integer"
|
||
},
|
||
"nlqNum": {
|
||
"description": "难录取专业数量",
|
||
"type": "integer"
|
||
},
|
||
"professionalCategory": {
|
||
"description": "专业类别(美术类/...)",
|
||
"type": "string"
|
||
},
|
||
"professionalCategoryChildren": {
|
||
"description": "子级专业类别",
|
||
"type": "string"
|
||
},
|
||
"professionalScore": {
|
||
"description": "专业成绩分",
|
||
"type": "number"
|
||
},
|
||
"province": {
|
||
"description": "高考省份",
|
||
"type": "string"
|
||
},
|
||
"ranking": {
|
||
"description": "位次",
|
||
"type": "integer"
|
||
},
|
||
"state": {
|
||
"description": "状态(0-未使用,1-使用中)",
|
||
"type": "string"
|
||
},
|
||
"subjects": {
|
||
"description": "选课",
|
||
"type": "string"
|
||
},
|
||
"type": {
|
||
"description": "填报类型(1-普通类 2-艺术类)",
|
||
"type": "string"
|
||
},
|
||
"updateBy": {
|
||
"description": "修改人",
|
||
"type": "string"
|
||
},
|
||
"updateTime": {
|
||
"description": "修改时间",
|
||
"type": "string"
|
||
},
|
||
"xjysby": {
|
||
"description": "戏剧影视表演",
|
||
"type": "number"
|
||
},
|
||
"xjysdy": {
|
||
"description": "戏剧影视导演",
|
||
"type": "number"
|
||
},
|
||
"yybyqy": {
|
||
"description": "音乐表演器乐",
|
||
"type": "number"
|
||
},
|
||
"yybysy": {
|
||
"description": "音乐表演声乐",
|
||
"type": "number"
|
||
},
|
||
"yyjy": {
|
||
"description": "音乐教育",
|
||
"type": "number"
|
||
}
|
||
}
|
||
},
|
||
"entity.YxVolunteerRecord": {
|
||
"type": "object",
|
||
"properties": {
|
||
"batch": {
|
||
"description": "录取批次",
|
||
"type": "string"
|
||
},
|
||
"calculationMajorId": {
|
||
"description": "专业折算id",
|
||
"type": "string"
|
||
},
|
||
"createBy": {
|
||
"description": "创建人",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建日期",
|
||
"type": "string"
|
||
},
|
||
"enrollProbability": {
|
||
"description": "录取概率",
|
||
"type": "number"
|
||
},
|
||
"enrollmentCode": {
|
||
"description": "招生代码",
|
||
"type": "string"
|
||
},
|
||
"fctj": {
|
||
"description": "服从调剂",
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"indexs": {
|
||
"description": "志愿顺序",
|
||
"type": "integer"
|
||
},
|
||
"majorCode": {
|
||
"description": "专业编码",
|
||
"type": "string"
|
||
},
|
||
"schoolCode": {
|
||
"description": "学校编码",
|
||
"type": "string"
|
||
},
|
||
"studentConvertedScore": {
|
||
"description": "折合分数",
|
||
"type": "number"
|
||
},
|
||
"volunteerId": {
|
||
"description": "志愿单id",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"server_modules_system_dto.CreateUserRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"password",
|
||
"realname",
|
||
"username"
|
||
],
|
||
"properties": {
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"birthday": {
|
||
"description": "生日",
|
||
"type": "string"
|
||
},
|
||
"email": {
|
||
"description": "电子邮件",
|
||
"type": "string"
|
||
},
|
||
"orgCode": {
|
||
"description": "机构编码",
|
||
"type": "string"
|
||
},
|
||
"password": {
|
||
"description": "密码",
|
||
"type": "string",
|
||
"minLength": 6
|
||
},
|
||
"phone": {
|
||
"description": "电话",
|
||
"type": "string"
|
||
},
|
||
"realname": {
|
||
"description": "真实姓名",
|
||
"type": "string"
|
||
},
|
||
"sex": {
|
||
"description": "性别(0-未知,1-男,2-女)",
|
||
"type": "integer"
|
||
},
|
||
"username": {
|
||
"description": "登录账号",
|
||
"type": "string",
|
||
"maxLength": 20,
|
||
"minLength": 3
|
||
}
|
||
}
|
||
},
|
||
"server_modules_system_dto.UpdateUserRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"birthday": {
|
||
"description": "生日",
|
||
"type": "string"
|
||
},
|
||
"email": {
|
||
"description": "电子邮件",
|
||
"type": "string"
|
||
},
|
||
"orgCode": {
|
||
"description": "机构编码",
|
||
"type": "string"
|
||
},
|
||
"phone": {
|
||
"description": "电话",
|
||
"type": "string"
|
||
},
|
||
"realname": {
|
||
"description": "真实姓名",
|
||
"type": "string"
|
||
},
|
||
"sex": {
|
||
"description": "性别(0-未知,1-男,2-女)",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "状态(1-正常,2-冻结)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"server_modules_user_dto.CreateUserRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"avatarUrl": {
|
||
"type": "string"
|
||
},
|
||
"gender": {
|
||
"type": "integer"
|
||
},
|
||
"nickname": {
|
||
"type": "string"
|
||
},
|
||
"phone": {
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"type": "integer"
|
||
},
|
||
"username": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"server_modules_user_dto.UpdateUserRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"avatarUrl": {
|
||
"type": "string"
|
||
},
|
||
"gender": {
|
||
"type": "integer"
|
||
},
|
||
"nickname": {
|
||
"type": "string"
|
||
},
|
||
"phone": {
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"type": "integer"
|
||
},
|
||
"username": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"vo.SysUserVO": {
|
||
"type": "object",
|
||
"properties": {
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"birthday": {
|
||
"description": "生日",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"email": {
|
||
"description": "电子邮件",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"orgCode": {
|
||
"description": "机构编码",
|
||
"type": "string"
|
||
},
|
||
"phone": {
|
||
"description": "电话",
|
||
"type": "string"
|
||
},
|
||
"realname": {
|
||
"description": "真实姓名",
|
||
"type": "string"
|
||
},
|
||
"sex": {
|
||
"description": "性别(0-未知,1-男,2-女)",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "状态(1-正常,2-冻结)",
|
||
"type": "integer"
|
||
},
|
||
"updateTime": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"username": {
|
||
"description": "登录账号",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"vo.VolunteerDetailResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"items": {
|
||
"description": "志愿明细列表 *VolunteerItemsVO",
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/vo.VolunteerDetailVO"
|
||
}
|
||
}
|
||
},
|
||
"volunteer": {
|
||
"description": "志愿单信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/vo.VolunteerInfoVO"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"vo.VolunteerDetailVO": {
|
||
"type": "object",
|
||
"properties": {
|
||
"batch": {
|
||
"description": "批次",
|
||
"type": "string"
|
||
},
|
||
"calculationMajorId": {
|
||
"description": "计算专业ID",
|
||
"type": "string"
|
||
},
|
||
"createBy": {
|
||
"description": "创建人",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"enrollProbability": {
|
||
"description": "录取概率",
|
||
"type": "number"
|
||
},
|
||
"enrollmentCode": {
|
||
"description": "招生代码",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "志愿记录ID",
|
||
"type": "string"
|
||
},
|
||
"indexs": {
|
||
"description": "志愿序号",
|
||
"type": "integer"
|
||
},
|
||
"institutionType": {
|
||
"description": "院校类型",
|
||
"type": "string"
|
||
},
|
||
"majorCode": {
|
||
"description": "专业代码",
|
||
"type": "string"
|
||
},
|
||
"majorDetail": {
|
||
"description": "专业详情",
|
||
"type": "string"
|
||
},
|
||
"majorName": {
|
||
"description": "专业名称",
|
||
"type": "string"
|
||
},
|
||
"planNum": {
|
||
"description": "计划人数",
|
||
"type": "integer"
|
||
},
|
||
"province": {
|
||
"description": "省份",
|
||
"type": "string"
|
||
},
|
||
"schoolCode": {
|
||
"description": "院校代码",
|
||
"type": "string"
|
||
},
|
||
"schoolIcon": {
|
||
"description": "院校图标",
|
||
"type": "string"
|
||
},
|
||
"schoolName": {
|
||
"description": "扩展字段(来自 SchoolMajorDTO)",
|
||
"type": "string"
|
||
},
|
||
"schoolNature": {
|
||
"description": "院校性质",
|
||
"type": "string"
|
||
},
|
||
"studentConvertedScore": {
|
||
"description": "学生折合分",
|
||
"type": "number"
|
||
},
|
||
"tuition": {
|
||
"description": "学费",
|
||
"type": "string"
|
||
},
|
||
"volunteerId": {
|
||
"description": "志愿单ID",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"vo.VolunteerInfoVO": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createBy": {
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"type": "string"
|
||
},
|
||
"createType": {
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"scoreId": {
|
||
"type": "string"
|
||
},
|
||
"state": {
|
||
"type": "string"
|
||
},
|
||
"updateBy": {
|
||
"type": "string"
|
||
},
|
||
"updateTime": {
|
||
"type": "string"
|
||
},
|
||
"volunteerName": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"vo.YxCalculationMajorVO": {
|
||
"type": "object",
|
||
"properties": {
|
||
"batch": {
|
||
"description": "批次",
|
||
"type": "string"
|
||
},
|
||
"category": {
|
||
"description": "类别",
|
||
"type": "string"
|
||
},
|
||
"chineseScoreLimitation": {
|
||
"description": "语文分数限制",
|
||
"type": "number"
|
||
},
|
||
"createBy": {
|
||
"description": "创建人",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"culturalScoreLimitation": {
|
||
"description": "文化成绩限制",
|
||
"type": "number"
|
||
},
|
||
"detail": {
|
||
"description": "详情",
|
||
"type": "string"
|
||
},
|
||
"englishScoreLimitation": {
|
||
"description": "英语分数限制",
|
||
"type": "number"
|
||
},
|
||
"enrollProbability": {
|
||
"description": "录取概率",
|
||
"type": "number"
|
||
},
|
||
"enrollmentCode": {
|
||
"description": "招生代码",
|
||
"type": "string"
|
||
},
|
||
"firstLevelDiscipline": {
|
||
"description": "一级学科",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"institutionType": {
|
||
"description": "院校类型",
|
||
"type": "string"
|
||
},
|
||
"kslx": {
|
||
"description": "考试类型",
|
||
"type": "string"
|
||
},
|
||
"limitation": {
|
||
"description": "限制条件",
|
||
"type": "string"
|
||
},
|
||
"mainSubjects": {
|
||
"description": "主考科目",
|
||
"type": "string"
|
||
},
|
||
"majorCode": {
|
||
"description": "专业代码",
|
||
"type": "string"
|
||
},
|
||
"majorName": {
|
||
"description": "专业名称",
|
||
"type": "string"
|
||
},
|
||
"majorType": {
|
||
"description": "专业类型",
|
||
"type": "string"
|
||
},
|
||
"majorTypeChild": {
|
||
"description": "子专业类型",
|
||
"type": "string"
|
||
},
|
||
"planNum": {
|
||
"description": "计划人数",
|
||
"type": "integer"
|
||
},
|
||
"privateStudentScore": {
|
||
"description": "私有学生分数",
|
||
"type": "number"
|
||
},
|
||
"probabilityOperator": {
|
||
"description": "概率操作符",
|
||
"type": "string"
|
||
},
|
||
"professionalScoreLimitation": {
|
||
"description": "专业分数限制",
|
||
"type": "number"
|
||
},
|
||
"province": {
|
||
"description": "省份",
|
||
"type": "string"
|
||
},
|
||
"rulesEnrollProbability": {
|
||
"description": "录取规则概率",
|
||
"type": "string"
|
||
},
|
||
"schoolCode": {
|
||
"description": "院校代码",
|
||
"type": "string"
|
||
},
|
||
"schoolName": {
|
||
"description": "院校名称",
|
||
"type": "string"
|
||
},
|
||
"schoolNature": {
|
||
"description": "院校性质",
|
||
"type": "string"
|
||
},
|
||
"state": {
|
||
"description": "状态",
|
||
"type": "string"
|
||
},
|
||
"studentConvertedScore": {
|
||
"description": "学生折合分",
|
||
"type": "number"
|
||
},
|
||
"studentScore": {
|
||
"description": "学生分数",
|
||
"type": "number"
|
||
},
|
||
"tuition": {
|
||
"description": "学费",
|
||
"type": "string"
|
||
},
|
||
"updateBy": {
|
||
"description": "更新人",
|
||
"type": "string"
|
||
},
|
||
"updateTime": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"vo.YxVolunteerVO": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createBy": {
|
||
"description": "创建人",
|
||
"type": "string"
|
||
},
|
||
"createTime": {
|
||
"description": "创建日期",
|
||
"type": "string"
|
||
},
|
||
"createType": {
|
||
"description": "生成类型(1.手动生成,2.智能生成)",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"scoreId": {
|
||
"description": "使用成绩id",
|
||
"type": "string"
|
||
},
|
||
"state": {
|
||
"description": "志愿单状态(0-否,1-正在使用,2-历史)",
|
||
"type": "string"
|
||
},
|
||
"sysOrgCode": {
|
||
"description": "所属部门",
|
||
"type": "string"
|
||
},
|
||
"updateBy": {
|
||
"description": "更新人",
|
||
"type": "string"
|
||
},
|
||
"updateTime": {
|
||
"description": "更新日期",
|
||
"type": "string"
|
||
},
|
||
"volunteerName": {
|
||
"description": "志愿单名称",
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"securityDefinitions": {
|
||
"Bearer": {
|
||
"type": "apiKey",
|
||
"name": "Authorization",
|
||
"in": "header"
|
||
}
|
||
}
|
||
} |