| | |
| | | @RestController |
| | | @RequestMapping("/deviceScope") |
| | | public class DeviceController { |
| | | |
| | | |
| | | @Resource |
| | | private DeviceService deviceService; |
| | | |
| | | @Value("${file.path}") |
| | | private String filePath; |
| | | @ValueClassify("设备工具明细") |
| | | @ValueAuth |
| | | @ApiOperation(value = "查询设备详情列表") |
| | | @PostMapping("/selectDeviceParameter") |
| | | public Result selectDeviceParameter(@RequestBody Map<String, Object> data) throws Exception { |
| | |
| | | //图片上传 |
| | | @ApiOperation(value = "设备图片上传") |
| | | @PostMapping("/uploadFile") |
| | | @ValueAuth |
| | | public Result uploadFile(MultipartFile file) { |
| | | String urlString; |
| | | String pathName; |