@@ -47,7 +47,7 @@ public class TauvWaterAlarmController extends BaseController { | |||
* @return | |||
*/ | |||
@GetMapping("/detail") | |||
@RequiresPermissions(controllerName + ":" + PermissionConstants.VIEW_PERMISSION) | |||
@RequiresPermissions(controllerName + ":detail") | |||
public Response getDetail(Integer id) { | |||
if (id == null || id <= 0) { | |||
return response.failure("id不能为空"); |