|
|
@@ -178,7 +178,7 @@ public class SysDeviceController extends BaseController {
|
|
|
/**
|
|
|
* 导入
|
|
|
*/
|
|
|
- //@RequiresPermissions("system:device:importData")
|
|
|
+ @RequiresPermissions("system:device:importData")
|
|
|
@ResponseBody
|
|
|
@PostMapping("/importData")
|
|
|
@Transactional(rollbackFor = {RuntimeException.class, Exception.class})
|
|
|
@@ -252,7 +252,7 @@ public class SysDeviceController extends BaseController {
|
|
|
return success();
|
|
|
}
|
|
|
|
|
|
- @RequiresPermissions("system:device:export")
|
|
|
+ @RequiresPermissions("system:user:export")
|
|
|
@PostMapping("/downInChargeOfTemplate")
|
|
|
public void downInChargeOfTemplate(HttpServletResponse response) throws IOException{
|
|
|
sysDeviceService.downInChargeOfTemplate(response);
|