From 42282dbcdaeb08c97a2f0b7dd48417f001998481 Mon Sep 17 00:00:00 2001 From: tamguo Date: Sun, 5 Aug 2018 14:45:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B8=E6=93=9A=E8=99=95=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tamguo/web/tiku/QuestionContrller.java | 4 +- .../resources/templates/questionList.html | 38 +++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/tamguo-tms/src/main/java/com/tamguo/web/tiku/QuestionContrller.java b/tamguo-tms/src/main/java/com/tamguo/web/tiku/QuestionContrller.java index 482a6b0..b6c02b7 100644 --- a/tamguo-tms/src/main/java/com/tamguo/web/tiku/QuestionContrller.java +++ b/tamguo-tms/src/main/java/com/tamguo/web/tiku/QuestionContrller.java @@ -33,7 +33,7 @@ public class QuestionContrller { private ICourseService iCourseService; @SuppressWarnings("unchecked") - @RequestMapping(value = {"questionlist/{chapterId}-{offset}-{limit}"}, method = RequestMethod.GET) + @RequestMapping(value = {"questionlist/{chapterId}-{offset}-{limit}.html"}, method = RequestMethod.GET) public ModelAndView questionList(@PathVariable String chapterId , @PathVariable Integer offset , @PathVariable Integer limit , ModelAndView model){ try { @@ -90,7 +90,7 @@ public class QuestionContrller { } - @RequestMapping(value = {"question/getQuestion/{uid}"}, method = RequestMethod.GET) + @RequestMapping(value = {"question/getQuestion/{uid}.html"}, method = RequestMethod.GET) @ResponseBody public Result getQuestion(@PathVariable String uid , ModelAndView model){ return Result.successResult(iQuestionService.selectById(uid)); diff --git a/tamguo-tms/src/main/resources/templates/questionList.html b/tamguo-tms/src/main/resources/templates/questionList.html index 2f0da0a..f8bea41 100644 --- a/tamguo-tms/src/main/resources/templates/questionList.html +++ b/tamguo-tms/src/main/resources/templates/questionList.html @@ -7,13 +7,13 @@ - - - - - - - + + + + + + + @@ -25,7 +25,7 @@