Commit 7aa9367f49d325cd7f9945eddf098fb171b3d3a9
1 parent
2c14644791
Exists in
master
and in
1 other branch
系统升级
Showing 1 changed file with 2 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ViewController.java
View file @
7aa9367
... | ... | @@ -841,6 +841,7 @@ |
841 | 841 | */ |
842 | 842 | @RequestMapping(value="/uploadUpgradePackage",method=RequestMethod.POST) |
843 | 843 | @ResponseBody |
844 | + @TokenRequired | |
844 | 845 | public BaseResponse uploadUpgradePackage(HttpServletRequest request, |
845 | 846 | @RequestParam("file") MultipartFile file) { |
846 | 847 | |
... | ... | @@ -856,6 +857,7 @@ |
856 | 857 | */ |
857 | 858 | @RequestMapping(value="/executeUpgrade",method=RequestMethod.GET) |
858 | 859 | @ResponseBody |
860 | + @TokenRequired | |
859 | 861 | public BaseResponse executeUpgrade(HttpServletRequest request) { |
860 | 862 | |
861 | 863 | return viewFacade.executeUpgrade(); |