|
@@ -0,0 +1,38 @@
|
|
|
+package com.qmth.distributed.print.api;
|
|
|
+
|
|
|
+import com.qmth.boot.api.annotation.Aac;
|
|
|
+import com.qmth.boot.api.annotation.BOOL;
|
|
|
+import com.qmth.boot.api.constant.ApiConstant;
|
|
|
+import com.qmth.boot.core.enums.Platform;
|
|
|
+import com.qmth.distributed.print.business.bean.result.EditResult;
|
|
|
+import com.qmth.distributed.print.common.util.Result;
|
|
|
+import com.qmth.distributed.print.common.util.ResultUtil;
|
|
|
+import io.swagger.annotations.*;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Description: 工作台 前端控制器
|
|
|
+ * @Param:
|
|
|
+ * @return:
|
|
|
+ * @Author: wangliang
|
|
|
+ * @Date: 2021/4/8
|
|
|
+ */
|
|
|
+@Api(tags = "工作台Controller")
|
|
|
+@RestController
|
|
|
+@RequestMapping(ApiConstant.DEFAULT_URI_PREFIX + "/${prefix.url.work}")
|
|
|
+@Aac(strict = BOOL.TRUE, platform = Platform.WEB)
|
|
|
+public class WorkController {
|
|
|
+
|
|
|
+ @ApiOperation(value = "命题待办接口")
|
|
|
+ @RequestMapping(value = "/exam/task/ready", method = RequestMethod.POST)
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "返回信息", response = EditResult.class)})
|
|
|
+ public Result examTaskReady(@ApiParam(value = "用户id", required = true) @RequestParam String userId,
|
|
|
+ @RequestParam(value = "pageNumber", required = true) Integer pageNumber,
|
|
|
+ @RequestParam(value = "pageSize", required = true) Integer pageSize) {
|
|
|
+ return ResultUtil.ok();
|
|
|
+ }
|
|
|
+}
|
|
|
+
|