|
@@ -2,7 +2,6 @@ package com.qmth.distributed.print.api;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.qmth.boot.api.annotation.Aac;
|
|
|
-import com.qmth.boot.api.annotation.BOOL;
|
|
|
import com.qmth.boot.api.constant.ApiConstant;
|
|
|
import com.qmth.distributed.print.business.bean.params.open.GradeOpenPageParams;
|
|
|
import com.qmth.distributed.print.business.bean.params.open.GradeOpenParams;
|
|
@@ -66,7 +65,7 @@ public class OpenApiController {
|
|
|
@ApiOperation(value = "试卷基础配置查询")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "试卷基础配置查询", response = Object.class)})
|
|
|
@PostMapping("/paper_config")
|
|
|
- @Aac(auth = BOOL.FALSE)
|
|
|
+ @Aac(auth = false)
|
|
|
public Result paperConfig(@ApiParam(value = "接收试卷配置数据信息", required = true) @RequestBody String result) throws UnsupportedEncodingException {
|
|
|
Optional.ofNullable(result).orElseThrow(() -> ExceptionResultEnum.PARAMS_ERROR.exception("数据为空"));
|
|
|
String decodeJson = URLDecoder.decode(result, SystemConstant.CHARSET_NAME);
|
|
@@ -81,7 +80,7 @@ public class OpenApiController {
|
|
|
@ApiOperation(value = "试卷考察点查询")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "试卷考察点查询", response = Object.class)})
|
|
|
@PostMapping("/paper_dimension")
|
|
|
- @Aac(auth = BOOL.FALSE)
|
|
|
+ @Aac(auth = false)
|
|
|
public Result paperDimension(@ApiParam(value = "试卷考察点查询", required = true) @RequestBody String result) throws UnsupportedEncodingException {
|
|
|
|
|
|
Optional.ofNullable(result).orElseThrow(() -> ExceptionResultEnum.PARAMS_ERROR.exception("数据为空"));
|
|
@@ -97,7 +96,7 @@ public class OpenApiController {
|
|
|
@ApiOperation(value = "试卷蓝图查询")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "试卷蓝图查询", response = Object.class)})
|
|
|
@PostMapping("/paper_structure")
|
|
|
- @Aac(auth = BOOL.FALSE)
|
|
|
+ @Aac(auth = false)
|
|
|
public Result paperStructure(@ApiParam(value = "试卷考察点查询", required = true) @RequestBody String result) throws UnsupportedEncodingException {
|
|
|
Optional.ofNullable(result).orElseThrow(() -> ExceptionResultEnum.PARAMS_ERROR.exception("数据为空"));
|
|
|
String decodeJson = URLDecoder.decode(result, SystemConstant.CHARSET_NAME);
|
|
@@ -112,7 +111,7 @@ public class OpenApiController {
|
|
|
@ApiOperation(value = "试卷评价模型查询")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "试卷评价模型查询", response = Object.class)})
|
|
|
@PostMapping("/paper_evaluation")
|
|
|
- @Aac(auth = BOOL.FALSE)
|
|
|
+ @Aac(auth = false)
|
|
|
public Result paperEvaluation(@ApiParam(value = "试卷评价模型查询", required = true) @RequestBody String result) throws UnsupportedEncodingException {
|
|
|
Optional.ofNullable(result).orElseThrow(() -> ExceptionResultEnum.PARAMS_ERROR.exception("数据为空"));
|
|
|
String decodeJson = URLDecoder.decode(result, SystemConstant.CHARSET_NAME);
|
|
@@ -127,7 +126,7 @@ public class OpenApiController {
|
|
|
@ApiOperation(value = "考生成绩查询")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "考生成绩查询", response = Object.class)})
|
|
|
@PostMapping("/exam_student_score")
|
|
|
- @Aac(auth = BOOL.FALSE)
|
|
|
+ @Aac(auth = false)
|
|
|
public Result examStudentScore(@ApiParam(value = "考生成绩查询", required = true) @RequestBody String result) throws UnsupportedEncodingException {
|
|
|
Optional.ofNullable(result).orElseThrow(() -> ExceptionResultEnum.PARAMS_ERROR.exception("数据为空"));
|
|
|
String decodeJson = URLDecoder.decode(result, SystemConstant.CHARSET_NAME);
|
|
@@ -142,7 +141,7 @@ public class OpenApiController {
|
|
|
@ApiOperation(value = "单点登录")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "返回消息", response = Result.class)})
|
|
|
@RequestMapping(value = "/account/login", method = RequestMethod.POST)
|
|
|
- @Aac(auth = BOOL.FALSE)
|
|
|
+ @Aac(auth = false)
|
|
|
public Result accountLogin(@ApiParam(value = "时间", required = true) @RequestParam String time,
|
|
|
@ApiParam(value = "地址", required = true) @RequestParam String path,
|
|
|
@ApiParam(value = "鉴权信息", required = true) @RequestParam String signature,
|
|
@@ -199,7 +198,7 @@ public class OpenApiController {
|
|
|
@ApiOperation(value = "西交大登录之前逻辑")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "用户信息", response = SysUser.class)})
|
|
|
@RequestMapping(value = "/login_before_xju_logic", method = RequestMethod.POST)
|
|
|
- @Aac(auth = BOOL.FALSE)
|
|
|
+ @Aac(auth = false)
|
|
|
public Result loginBeforeXjuLogic(@ApiParam(value = "登录账号", required = true) @RequestBody String account) throws UnsupportedEncodingException {
|
|
|
Optional.ofNullable(account).orElseThrow(() -> ExceptionResultEnum.PARAMS_ERROR.exception("账号为空"));
|
|
|
String decodeJson = URLDecoder.decode(account, SystemConstant.CHARSET_NAME);
|