获取服务器时间
This commit is contained in:
@@ -160,6 +160,12 @@ public class ClassExamController {
|
|||||||
return R.ok().put("page",classExamSubjectList);
|
return R.ok().put("page",classExamSubjectList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//获取服务器时间
|
||||||
|
@RequestMapping("/getServerTime")
|
||||||
|
public R getServerTime(){
|
||||||
|
return R.ok().put("serverTime",new Date().getTime());
|
||||||
|
}
|
||||||
|
|
||||||
//生成试卷
|
//生成试卷
|
||||||
@RequestMapping("/generateExamPaper")
|
@RequestMapping("/generateExamPaper")
|
||||||
public R generateExamPaper(@RequestBody Map<String,Object> params){
|
public R generateExamPaper(@RequestBody Map<String,Object> params){
|
||||||
|
|||||||
Reference in New Issue
Block a user