|
@@ -16,14 +16,14 @@ import cn.com.qmth.examcloud.web.support.ControllerSupport;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
@RestController
|
|
@RestController
|
|
-@RequestMapping("${$rmp.ctr.examwork}/exam")
|
|
|
|
|
|
+@RequestMapping("${$rmp}/v2/exam")
|
|
public class ExamController extends ControllerSupport {
|
|
public class ExamController extends ControllerSupport {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private CoreOeService oeService;
|
|
private CoreOeService oeService;
|
|
|
|
|
|
@ApiOperation(value = "查询考生的考试批次属性集")
|
|
@ApiOperation(value = "查询考生的考试批次属性集")
|
|
- @GetMapping("getExamPropertyFromCacheByStudentSession/{examId}/{keys}")
|
|
|
|
|
|
+ @GetMapping("getExamProperty/{examId}/{keys}")
|
|
public Result getExamPropertyFromCacheByStudentSession(@RequestHeader(name = PARAM_APP_KEY) String key, @RequestHeader(name = PARAM_APP_TOKEN) String token,@PathVariable Long examId,
|
|
public Result getExamPropertyFromCacheByStudentSession(@RequestHeader(name = PARAM_APP_KEY) String key, @RequestHeader(name = PARAM_APP_TOKEN) String token,@PathVariable Long examId,
|
|
@PathVariable String keys) throws Exception{
|
|
@PathVariable String keys) throws Exception{
|
|
return oeService.getExamPropertyFromCacheByStudentSession(key, token, examId, keys);
|
|
return oeService.getExamPropertyFromCacheByStudentSession(key, token, examId, keys);
|