WEB端解绑设备
This commit is contained in:
@ -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 = "导出数据设备")
|
||||
|
Reference in New Issue
Block a user