Przeglądaj źródła

文章搜索旧链接跳转

chao 3 lat temu
rodzic
commit
f1e177aa9d

+ 1 - 1
src/main/java/com/caimei/www/controller/RedirectController.java

@@ -90,7 +90,7 @@ public class RedirectController {
      * /info/search.shtml?kw=
      */
     @GetMapping("/info/search.shtml")
-    public String toArticleSearch(@RequestParam("kw") Integer keyword) {
+    public String toArticleSearch(@RequestParam("kw") String keyword) {
         return "redirect:/info/search-1.html?keyword=" + keyword;
     }