2361 lines
54 KiB
YAML
2361 lines
54 KiB
YAML
basePath: /api
|
||
definitions:
|
||
common.Response:
|
||
properties:
|
||
code:
|
||
type: integer
|
||
data: {}
|
||
message:
|
||
type: string
|
||
type: object
|
||
controller.LoginRequest:
|
||
properties:
|
||
password:
|
||
type: string
|
||
username:
|
||
type: string
|
||
required:
|
||
- password
|
||
- username
|
||
type: object
|
||
controller.UpdatePasswordRequest:
|
||
properties:
|
||
newPassword:
|
||
type: string
|
||
oldPassword:
|
||
type: string
|
||
required:
|
||
- newPassword
|
||
- oldPassword
|
||
type: object
|
||
dto.CreateCalculationMajorRequest:
|
||
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
|
||
required:
|
||
- majorCode
|
||
- schoolCode
|
||
type: object
|
||
dto.CreatePlatformUserRequest:
|
||
type: object
|
||
dto.CreateVolunteerRequest:
|
||
properties:
|
||
createType:
|
||
description: 生成类型(1.手动生成,2.智能生成)
|
||
type: string
|
||
scoreId:
|
||
description: 关联成绩ID
|
||
type: string
|
||
volunteerName:
|
||
description: 志愿单名称
|
||
type: string
|
||
required:
|
||
- scoreId
|
||
- volunteerName
|
||
type: object
|
||
dto.SaveScoreRequest:
|
||
properties:
|
||
ChineseScore:
|
||
type: number
|
||
CognitioPolyclinic:
|
||
type: string
|
||
CulturalScore:
|
||
type: number
|
||
EnglishScore:
|
||
type: number
|
||
ProfessionalCategory:
|
||
type: string
|
||
ProfessionalCategoryChildren:
|
||
items:
|
||
type: string
|
||
type: array
|
||
ProfessionalCategoryChildrenScore:
|
||
additionalProperties:
|
||
format: float64
|
||
type: number
|
||
type: object
|
||
ProfessionalScore:
|
||
type: number
|
||
Province:
|
||
type: string
|
||
SubjectList:
|
||
items:
|
||
type: string
|
||
type: array
|
||
createBy:
|
||
type: string
|
||
required:
|
||
- ChineseScore
|
||
- CognitioPolyclinic
|
||
- CulturalScore
|
||
- EnglishScore
|
||
- ProfessionalCategory
|
||
- ProfessionalCategoryChildren
|
||
- ProfessionalCategoryChildrenScore
|
||
- ProfessionalScore
|
||
- Province
|
||
- SubjectList
|
||
type: object
|
||
dto.SaveVolunteerRequest:
|
||
properties:
|
||
keys:
|
||
description: 'Keys: schoolCode_majorCode_enrollmentCode'
|
||
items:
|
||
type: string
|
||
type: array
|
||
required:
|
||
- keys
|
||
type: object
|
||
dto.UpdateCalculationMajorRequest:
|
||
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
|
||
type: object
|
||
dto.UpdatePlatformUserRequest:
|
||
type: object
|
||
dto.UpdateVolunteerRequest:
|
||
properties:
|
||
state:
|
||
description: 志愿单状态(0-否,1-正在使用,2-历史)
|
||
type: string
|
||
volunteerName:
|
||
description: 志愿单名称
|
||
type: string
|
||
type: object
|
||
entity.YxHistoryMajorEnroll:
|
||
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
|
||
type: object
|
||
entity.YxSchoolMajor:
|
||
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
|
||
type: object
|
||
entity.YxUserScore:
|
||
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
|
||
type: object
|
||
entity.YxVolunteerRecord:
|
||
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
|
||
type: object
|
||
server_modules_system_dto.CreateUserRequest:
|
||
properties:
|
||
avatar:
|
||
description: 头像
|
||
type: string
|
||
birthday:
|
||
description: 生日
|
||
type: string
|
||
email:
|
||
description: 电子邮件
|
||
type: string
|
||
orgCode:
|
||
description: 机构编码
|
||
type: string
|
||
password:
|
||
description: 密码
|
||
minLength: 6
|
||
type: string
|
||
phone:
|
||
description: 电话
|
||
type: string
|
||
realname:
|
||
description: 真实姓名
|
||
type: string
|
||
sex:
|
||
description: 性别(0-未知,1-男,2-女)
|
||
type: integer
|
||
username:
|
||
description: 登录账号
|
||
maxLength: 20
|
||
minLength: 3
|
||
type: string
|
||
required:
|
||
- password
|
||
- realname
|
||
- username
|
||
type: object
|
||
server_modules_system_dto.UpdateUserRequest:
|
||
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
|
||
type: object
|
||
server_modules_user_dto.CreateUserRequest:
|
||
properties:
|
||
avatarUrl:
|
||
type: string
|
||
gender:
|
||
type: integer
|
||
nickname:
|
||
type: string
|
||
phone:
|
||
type: string
|
||
status:
|
||
type: integer
|
||
username:
|
||
type: string
|
||
type: object
|
||
server_modules_user_dto.UpdateUserRequest:
|
||
properties:
|
||
avatarUrl:
|
||
type: string
|
||
gender:
|
||
type: integer
|
||
nickname:
|
||
type: string
|
||
phone:
|
||
type: string
|
||
status:
|
||
type: integer
|
||
username:
|
||
type: string
|
||
type: object
|
||
vo.SysUserVO:
|
||
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
|
||
type: object
|
||
vo.VolunteerDetailResponse:
|
||
properties:
|
||
items:
|
||
additionalProperties:
|
||
items:
|
||
$ref: '#/definitions/vo.VolunteerDetailVO'
|
||
type: array
|
||
description: 志愿明细列表 *VolunteerItemsVO
|
||
type: object
|
||
volunteer:
|
||
allOf:
|
||
- $ref: '#/definitions/vo.VolunteerInfoVO'
|
||
description: 志愿单信息
|
||
type: object
|
||
vo.VolunteerDetailVO:
|
||
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
|
||
type: object
|
||
vo.VolunteerInfoVO:
|
||
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
|
||
type: object
|
||
vo.YxCalculationMajorVO:
|
||
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
|
||
type: object
|
||
vo.YxVolunteerVO:
|
||
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
|
||
type: object
|
||
host: localhost:8080
|
||
info:
|
||
contact: {}
|
||
description: 提供管理接口
|
||
title: Golang Server API
|
||
version: "2.0"
|
||
paths:
|
||
/platform-users:
|
||
get:
|
||
parameters:
|
||
- description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取平台用户列表
|
||
tags:
|
||
- 平台用户
|
||
post:
|
||
parameters:
|
||
- description: 平台用户信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/dto.CreatePlatformUserRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 创建平台用户
|
||
tags:
|
||
- 平台用户
|
||
/platform-users/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除平台用户
|
||
tags:
|
||
- 平台用户
|
||
get:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取平台用户详情
|
||
tags:
|
||
- 平台用户
|
||
patch:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: integer
|
||
- description: 要更新的字段
|
||
in: body
|
||
name: fields
|
||
required: true
|
||
schema:
|
||
additionalProperties: true
|
||
type: object
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 动态字段更新
|
||
tags:
|
||
- 平台用户
|
||
put:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: integer
|
||
- description: 平台用户信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/dto.UpdatePlatformUserRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 更新平台用户
|
||
tags:
|
||
- 平台用户
|
||
/sys-users:
|
||
get:
|
||
parameters:
|
||
- description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
items:
|
||
$ref: '#/definitions/vo.SysUserVO'
|
||
type: array
|
||
type: object
|
||
summary: 获取用户列表
|
||
tags:
|
||
- 用户管理
|
||
post:
|
||
parameters:
|
||
- description: 用户信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/server_modules_system_dto.CreateUserRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.SysUserVO'
|
||
type: object
|
||
summary: 创建用户
|
||
tags:
|
||
- 用户管理
|
||
/sys-users/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: 用户ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除用户
|
||
tags:
|
||
- 用户管理
|
||
get:
|
||
parameters:
|
||
- description: 用户ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.SysUserVO'
|
||
type: object
|
||
summary: 获取单个用户
|
||
tags:
|
||
- 用户管理
|
||
patch:
|
||
parameters:
|
||
- description: 用户ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 要更新的字段
|
||
in: body
|
||
name: fields
|
||
required: true
|
||
schema:
|
||
additionalProperties: true
|
||
type: object
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 动态字段更新
|
||
tags:
|
||
- 用户管理
|
||
put:
|
||
parameters:
|
||
- description: 用户ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 用户信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/server_modules_system_dto.UpdateUserRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.SysUserVO'
|
||
type: object
|
||
summary: 更新用户
|
||
tags:
|
||
- 用户管理
|
||
/sys-users/{id}/password:
|
||
put:
|
||
parameters:
|
||
- description: 用户ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 密码信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/controller.UpdatePasswordRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 修改密码
|
||
tags:
|
||
- 用户管理
|
||
/sys/auth/info:
|
||
get:
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: Sys获取当前登录用户信息
|
||
tags:
|
||
- 认证
|
||
/sys/auth/login:
|
||
post:
|
||
consumes:
|
||
- application/json
|
||
parameters:
|
||
- description: 登录信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/controller.LoginRequest'
|
||
produces:
|
||
- application/json
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: Sys用户登录
|
||
tags:
|
||
- 认证
|
||
/sys/auth/logout:
|
||
post:
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: Sys用户登出
|
||
tags:
|
||
- 认证
|
||
/user/auth/info:
|
||
get:
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取当前登录用户信息
|
||
tags:
|
||
- 认证
|
||
/user/auth/login:
|
||
post:
|
||
consumes:
|
||
- application/json
|
||
parameters:
|
||
- description: 登录信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/controller.LoginRequest'
|
||
produces:
|
||
- application/json
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 用户登录
|
||
tags:
|
||
- 认证
|
||
/user/auth/logout:
|
||
post:
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 用户登出
|
||
tags:
|
||
- 认证
|
||
/user/major/list:
|
||
get:
|
||
parameters:
|
||
- default: 1
|
||
description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- default: 10
|
||
description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
- default: '""'
|
||
description: 批次(本科提前批/本科A段/本科B段/本科/高职高专)
|
||
in: query
|
||
name: batch
|
||
type: string
|
||
- default: '""'
|
||
description: 录取概率类型(难录取/可冲击/较稳妥/可保底)
|
||
in: query
|
||
name: probability
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取当前用户可检索列表
|
||
tags:
|
||
- 用户专业
|
||
/user/major/list_by_school:
|
||
get:
|
||
parameters:
|
||
- default: 1
|
||
description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- default: 10
|
||
description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
- description: 院校代码
|
||
in: query
|
||
name: school_code
|
||
required: true
|
||
type: string
|
||
- default: '""'
|
||
description: 录取概率类型(难录取/可冲击/较稳妥/可保底)
|
||
in: query
|
||
name: probability
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取当前院校下其他专业数据
|
||
tags:
|
||
- 用户专业
|
||
/user/score:
|
||
get:
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取当前用户的激活分数
|
||
tags:
|
||
- 用户分数
|
||
/user/score/{id}:
|
||
get:
|
||
parameters:
|
||
- description: 成绩ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取指定 ID 的分数
|
||
tags:
|
||
- 用户分数
|
||
/user/score/list:
|
||
get:
|
||
parameters:
|
||
- default: 1
|
||
description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- default: 10
|
||
description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取当前用户的成绩列表
|
||
tags:
|
||
- 用户分数
|
||
/user/score/save-score:
|
||
post:
|
||
parameters:
|
||
- description: 成绩信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/dto.SaveScoreRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 保存用户成绩
|
||
tags:
|
||
- 用户分数
|
||
/user/volunteer/delete:
|
||
delete:
|
||
parameters:
|
||
- description: 志愿单ID
|
||
in: query
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除志愿单接口
|
||
tags:
|
||
- 用户志愿
|
||
/user/volunteer/detail:
|
||
get:
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.VolunteerDetailResponse'
|
||
type: object
|
||
summary: 获取当前志愿单详情
|
||
tags:
|
||
- 用户志愿
|
||
/user/volunteer/list:
|
||
get:
|
||
parameters:
|
||
- description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取当前用户志愿单列表
|
||
tags:
|
||
- 用户志愿
|
||
/user/volunteer/save:
|
||
post:
|
||
parameters:
|
||
- description: 志愿键列表
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/dto.SaveVolunteerRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 保存志愿明细
|
||
tags:
|
||
- 用户志愿
|
||
/user/volunteer/switch:
|
||
post:
|
||
parameters:
|
||
- description: 志愿单ID
|
||
in: query
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 切换当前志愿单
|
||
tags:
|
||
- 用户志愿
|
||
/user/volunteer/updateName:
|
||
put:
|
||
parameters:
|
||
- description: 志愿单ID
|
||
in: query
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 志愿单名称
|
||
in: query
|
||
name: name
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 编辑志愿单名称
|
||
tags:
|
||
- 用户志愿
|
||
/users:
|
||
get:
|
||
parameters:
|
||
- description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取用户列表
|
||
tags:
|
||
- 用户
|
||
post:
|
||
parameters:
|
||
- description: 用户信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/server_modules_user_dto.CreateUserRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 创建用户
|
||
tags:
|
||
- 用户
|
||
/users/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除用户
|
||
tags:
|
||
- 用户
|
||
get:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取用户详情
|
||
tags:
|
||
- 用户
|
||
patch:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: integer
|
||
- description: 要更新的字段
|
||
in: body
|
||
name: fields
|
||
required: true
|
||
schema:
|
||
additionalProperties: true
|
||
type: object
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 动态字段更新
|
||
tags:
|
||
- 用户
|
||
put:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: integer
|
||
- description: 用户信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/server_modules_user_dto.UpdateUserRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 更新用户
|
||
tags:
|
||
- 用户
|
||
/yx-calculation-majors:
|
||
get:
|
||
parameters:
|
||
- description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
items:
|
||
$ref: '#/definitions/vo.YxCalculationMajorVO'
|
||
type: array
|
||
type: object
|
||
summary: 获取计算专业列表
|
||
tags:
|
||
- 计算专业
|
||
post:
|
||
parameters:
|
||
- description: 计算专业信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/dto.CreateCalculationMajorRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.YxCalculationMajorVO'
|
||
type: object
|
||
summary: 创建计算专业
|
||
tags:
|
||
- 计算专业
|
||
/yx-calculation-majors/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除计算专业
|
||
tags:
|
||
- 计算专业
|
||
get:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.YxCalculationMajorVO'
|
||
type: object
|
||
summary: 获取单个计算专业
|
||
tags:
|
||
- 计算专业
|
||
patch:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 要更新的字段
|
||
in: body
|
||
name: fields
|
||
required: true
|
||
schema:
|
||
additionalProperties: true
|
||
type: object
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 动态字段更新
|
||
tags:
|
||
- 计算专业
|
||
put:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 计算专业信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/dto.UpdateCalculationMajorRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.YxCalculationMajorVO'
|
||
type: object
|
||
summary: 更新计算专业
|
||
tags:
|
||
- 计算专业
|
||
/yx-calculation-majors/batch:
|
||
delete:
|
||
parameters:
|
||
- description: ID列表
|
||
in: body
|
||
name: ids
|
||
required: true
|
||
schema:
|
||
items:
|
||
type: string
|
||
type: array
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 批量删除计算专业
|
||
tags:
|
||
- 计算专业
|
||
post:
|
||
parameters:
|
||
- description: 计算专业列表
|
||
in: body
|
||
name: items
|
||
required: true
|
||
schema:
|
||
items:
|
||
$ref: '#/definitions/dto.CreateCalculationMajorRequest'
|
||
type: array
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 批量创建计算专业
|
||
tags:
|
||
- 计算专业
|
||
/yx-history-enrolls:
|
||
get:
|
||
parameters:
|
||
- description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取历年招生列表
|
||
tags:
|
||
- 历年招生
|
||
post:
|
||
parameters:
|
||
- description: 历年招生信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/entity.YxHistoryMajorEnroll'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 创建历年招生记录
|
||
tags:
|
||
- 历年招生
|
||
/yx-history-enrolls/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除历年招生记录
|
||
tags:
|
||
- 历年招生
|
||
get:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取单个历年招生记录
|
||
tags:
|
||
- 历年招生
|
||
patch:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 要更新的字段
|
||
in: body
|
||
name: fields
|
||
required: true
|
||
schema:
|
||
additionalProperties: true
|
||
type: object
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 动态字段更新
|
||
tags:
|
||
- 历年招生
|
||
put:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 历年招生信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/entity.YxHistoryMajorEnroll'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 更新历年招生记录
|
||
tags:
|
||
- 历年招生
|
||
/yx-history-enrolls/batch:
|
||
delete:
|
||
parameters:
|
||
- description: ID列表
|
||
in: body
|
||
name: ids
|
||
required: true
|
||
schema:
|
||
items:
|
||
type: string
|
||
type: array
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 批量删除历年招生记录
|
||
tags:
|
||
- 历年招生
|
||
post:
|
||
parameters:
|
||
- description: 历年招生列表
|
||
in: body
|
||
name: items
|
||
required: true
|
||
schema:
|
||
items:
|
||
$ref: '#/definitions/entity.YxHistoryMajorEnroll'
|
||
type: array
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 批量创建历年招生记录
|
||
tags:
|
||
- 历年招生
|
||
/yx-school-majors:
|
||
get:
|
||
parameters:
|
||
- description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取院校专业列表
|
||
tags:
|
||
- 院校专业
|
||
post:
|
||
parameters:
|
||
- description: 院校专业信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/entity.YxSchoolMajor'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 创建院校专业
|
||
tags:
|
||
- 院校专业
|
||
/yx-school-majors/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除院校专业
|
||
tags:
|
||
- 院校专业
|
||
get:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取单个院校专业
|
||
tags:
|
||
- 院校专业
|
||
patch:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 要更新的字段
|
||
in: body
|
||
name: fields
|
||
required: true
|
||
schema:
|
||
additionalProperties: true
|
||
type: object
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 动态字段更新
|
||
tags:
|
||
- 院校专业
|
||
put:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 院校专业信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/entity.YxSchoolMajor'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 更新院校专业
|
||
tags:
|
||
- 院校专业
|
||
/yx-school-majors/batch:
|
||
delete:
|
||
parameters:
|
||
- description: ID列表
|
||
in: body
|
||
name: ids
|
||
required: true
|
||
schema:
|
||
items:
|
||
type: string
|
||
type: array
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 批量删除院校专业
|
||
tags:
|
||
- 院校专业
|
||
post:
|
||
parameters:
|
||
- description: 院校专业列表
|
||
in: body
|
||
name: items
|
||
required: true
|
||
schema:
|
||
items:
|
||
$ref: '#/definitions/entity.YxSchoolMajor'
|
||
type: array
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 批量创建院校专业
|
||
tags:
|
||
- 院校专业
|
||
/yx-user-scores:
|
||
get:
|
||
parameters:
|
||
- default: 1
|
||
description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- default: 10
|
||
description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取用户分数列表
|
||
tags:
|
||
- 用户分数
|
||
post:
|
||
parameters:
|
||
- description: 用户分数信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/entity.YxUserScore'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 创建用户分数
|
||
tags:
|
||
- 用户分数
|
||
/yx-user-scores/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除用户分数
|
||
tags:
|
||
- 用户分数
|
||
get:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取单个用户分数
|
||
tags:
|
||
- 用户分数
|
||
put:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 用户分数信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/entity.YxUserScore'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 更新用户分数
|
||
tags:
|
||
- 用户分数
|
||
/yx-volunteer-records:
|
||
get:
|
||
parameters:
|
||
- default: 1
|
||
description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- default: 10
|
||
description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取志愿明细列表
|
||
tags:
|
||
- 志愿明细
|
||
post:
|
||
parameters:
|
||
- description: 志愿明细信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/entity.YxVolunteerRecord'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 创建志愿明细
|
||
tags:
|
||
- 志愿明细
|
||
/yx-volunteer-records/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除志愿明细
|
||
tags:
|
||
- 志愿明细
|
||
get:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 获取单个志愿明细
|
||
tags:
|
||
- 志愿明细
|
||
put:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 志愿明细信息
|
||
in: body
|
||
name: item
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/entity.YxVolunteerRecord'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 更新志愿明细
|
||
tags:
|
||
- 志愿明细
|
||
/yx-volunteers:
|
||
get:
|
||
parameters:
|
||
- default: 1
|
||
description: 页码
|
||
in: query
|
||
name: page
|
||
type: integer
|
||
- default: 10
|
||
description: 每页数量
|
||
in: query
|
||
name: size
|
||
type: integer
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
items:
|
||
$ref: '#/definitions/vo.YxVolunteerVO'
|
||
type: array
|
||
type: object
|
||
summary: 获取志愿列表
|
||
tags:
|
||
- 志愿
|
||
post:
|
||
parameters:
|
||
- description: 志愿信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/dto.CreateVolunteerRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.YxVolunteerVO'
|
||
type: object
|
||
summary: 创建志愿
|
||
tags:
|
||
- 志愿
|
||
/yx-volunteers/{id}:
|
||
delete:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
$ref: '#/definitions/common.Response'
|
||
summary: 删除志愿
|
||
tags:
|
||
- 志愿
|
||
get:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.YxVolunteerVO'
|
||
type: object
|
||
summary: 获取单个志愿
|
||
tags:
|
||
- 志愿
|
||
put:
|
||
parameters:
|
||
- description: ID
|
||
in: path
|
||
name: id
|
||
required: true
|
||
type: string
|
||
- description: 志愿信息
|
||
in: body
|
||
name: request
|
||
required: true
|
||
schema:
|
||
$ref: '#/definitions/dto.UpdateVolunteerRequest'
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
schema:
|
||
allOf:
|
||
- $ref: '#/definitions/common.Response'
|
||
- properties:
|
||
data:
|
||
$ref: '#/definitions/vo.YxVolunteerVO'
|
||
type: object
|
||
summary: 更新志愿
|
||
tags:
|
||
- 志愿
|
||
securityDefinitions:
|
||
Bearer:
|
||
in: header
|
||
name: Authorization
|
||
type: apiKey
|
||
swagger: "2.0"
|