12345678910111213141516171819202122 |
- package com.kmall.admin.controller;
- import org.springframework.stereotype.Controller;
- import org.springframework.web.bind.annotation.PathVariable;
- import org.springframework.web.bind.annotation.RequestMapping;
- /**
- * 系统页面视图
- *
- * @author Scott
- * @email
- * @date 2016年11月24日 下午11:05:27
- */
- @Controller
- public class SysPageController {
- @RequestMapping("{module}/{url}.html")
- public String page(@PathVariable("module") String module, @PathVariable("url") String url) {
- return module + "/" + url + ".html";
- }
- }
|