feat: 设备

dev_fifo
chenhc 3 months ago
parent 39f561b5df
commit 45518ea032

@ -79,7 +79,7 @@ public class DeviceAssetCertController extends BaseController {
@PostMapping("/inv/info/deleteDeviceCert")
public BaseResponse deleteDeviceCert(@RequestBody DeleteDeviceFileRequest deleteDeviceFileRequest) {
boolean b = deviceAssetCertService.deleteById(deleteDeviceFileRequest.getId());
String URL = filePath + FileConstant.COMMON_FILE_PATH + deleteDeviceFileRequest.getFilePath();
String URL = filePath + FileConstant.DEV_COMMON_FILE_PATH + deleteDeviceFileRequest.getFilePath();
File file = new File(URL);
if (file.exists() && file.isFile()) {
file.delete();

Loading…
Cancel
Save