WEB端解绑设备

This commit is contained in:
2025-07-30 18:39:12 +08:00
parent 4fa4e5ec29
commit ceeda046ea
7 changed files with 267 additions and 69 deletions

View File

@ -147,19 +147,19 @@ public class DeviceController extends BaseController {
return R.ok();
}
/**
* @param id
* @return
* @ModelAttribute 主要用于将请求参数绑定到 Java 对象上,它会从 HTTP 请求的查询参数Query Parameters
* 或表单数据Form Data中提取值并自动填充到指定的对象属性中。
*/
// @Log("解绑设备")
@Operation(summary = "WEB端解绑设备")
@GetMapping(value = "/unbind")
public R<Void> unbindDevice(@Validated Long id) {
return toAjax(deviceService.webUnBindDevice(id));
}
//
// /**
// * @param id
// * @return
// * @ModelAttribute 主要用于将请求参数绑定到 Java 对象上,它会从 HTTP 请求的查询参数Query Parameters
// * 或表单数据Form Data中提取值并自动填充到指定的对象属性中。
// */
// // @Log("解绑设备")
// @Operation(summary = "WEB端解绑设备")
// @GetMapping(value = "/unbind")
// public R<Void> unbindDevice(@Validated Long id) {
// return toAjax(deviceService.webUnBindDevice(id));
// }
@Operation(summary = "导出数据设备")