AdminMachinePartsController.java 713 B

12345678910111213141516171819202122232425
  1. package com.iamberry.rst.controllers.pts;
  2. import org.apache.shiro.authz.annotation.RequiresPermissions;
  3. import org.springframework.stereotype.Controller;
  4. import org.springframework.web.bind.annotation.RequestMapping;
  5. import org.springframework.web.servlet.ModelAndView;
  6. /**
  7. * Created by LJK on 2017/8/29.
  8. */
  9. @Controller
  10. @RequestMapping("/admin/machineParts")
  11. public class AdminMachinePartsController {
  12. /**
  13. * 进入添加机器零件页面
  14. * **/
  15. @RequiresPermissions("machineParts:add:machineParts")
  16. @RequestMapping("/_to_add_machineParts")
  17. public ModelAndView toAddMachineParts(){
  18. ModelAndView mv = new ModelAndView("pts/machinePtras/ptras_add");
  19. return mv;
  20. }
  21. }