| | |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.ModelMap; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * @Description |
| | |
| | | * @return |
| | | */ |
| | | @RequestMapping("/lock") |
| | | public String lock(ModelMap view) { |
| | | |
| | | public String lock(@RequestParam(value = "flag", required = true) String flag, ModelMap view) { |
| | | view.put("flag", flag); |
| | | return prefix + "lock"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/index") |
| | | public String index(ModelMap view) { |
| | | |
| | | view.put("flag", "index"); |
| | | return prefix + "index"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/dzhwk") |
| | | public String dzhwk(ModelMap view) { |
| | | |
| | | view.put("flag", "dzhwk"); |
| | | return prefix + "dzhwk"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/grain") |
| | | public String grain(ModelMap view) { |
| | | |
| | | view.put("flag", "grain"); |
| | | return prefix + "grain"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/gas") |
| | | public String gas(ModelMap view) { |
| | | |
| | | view.put("flag", "gas"); |
| | | return prefix + "gas"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/pest") |
| | | public String pest(ModelMap view) { |
| | | |
| | | view.put("flag", "pest"); |
| | | return prefix + "pest"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/verb") |
| | | public String verb(ModelMap view) { |
| | | |
| | | view.put("flag", "verb"); |
| | | return prefix + "verb"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/recir") |
| | | public String recir(ModelMap view) { |
| | | |
| | | view.put("flag", "recir"); |
| | | return prefix + "recir"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/n2") |
| | | public String n2(ModelMap view) { |
| | | |
| | | view.put("flag", "n2"); |
| | | return prefix + "n2"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/security") |
| | | public String security(ModelMap view) { |
| | | |
| | | view.put("flag", "security"); |
| | | return prefix + "security"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/door") |
| | | public String door(ModelMap view) { |
| | | |
| | | view.put("flag", "door"); |
| | | return prefix + "door"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/ai") |
| | | public String ai(ModelMap view) { |
| | | |
| | | view.put("flag", "ai"); |
| | | return prefix + "ai"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/card") |
| | | public String card(ModelMap view) { |
| | | |
| | | view.put("flag", "card"); |
| | | return prefix + "card"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/patrol") |
| | | public String patrol(ModelMap view) { |
| | | |
| | | view.put("flag", "patrol"); |
| | | return prefix + "patrol"; |
| | | } |
| | | |
| | |
| | | */ |
| | | @RequestMapping("/sys") |
| | | public String sys(ModelMap view) { |
| | | |
| | | view.put("flag", "sys"); |
| | | return prefix + "sys"; |
| | | } |
| | | |