12345678910111213141516171819202122232425 |
- package com.iamberry.rst.controllers.pts;
- import org.apache.shiro.authz.annotation.RequiresPermissions;
- import org.springframework.stereotype.Controller;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.servlet.ModelAndView;
- /**
- * Created by LJK on 2017/8/29.
- */
- @Controller
- @RequestMapping("/admin/machineParts")
- public class AdminMachinePartsController {
- /**
- * 进入添加机器零件页面
- * **/
- @RequiresPermissions("machineParts:add:machineParts")
- @RequestMapping("/_to_add_machineParts")
- public ModelAndView toAddMachineParts(){
- ModelAndView mv = new ModelAndView("pts/machinePtras/ptras_add");
- return mv;
- }
- }
|