|
|
@@ -7,6 +7,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@@ -47,15 +48,15 @@ public class MeetController {
|
|
|
return R.ok().put("data", meetService.myAppointmentInfo(meetId));
|
|
|
}
|
|
|
|
|
|
-// /**
|
|
|
-// * 删除
|
|
|
-// */
|
|
|
-// @DeleteMapping("/delete")
|
|
|
-// @ApiOperation("约见删除")
|
|
|
-// @RequiresPermissions("qyh:meet:delete")
|
|
|
-// public R delete(@RequestBody Long[] ids) {
|
|
|
-// meetService.deleteByIds(ids);
|
|
|
-// return R.ok();
|
|
|
-// }
|
|
|
+ /**
|
|
|
+ * 删除
|
|
|
+ */
|
|
|
+ @DeleteMapping("/delete")
|
|
|
+ @ApiOperation("约见删除")
|
|
|
+ @RequiresPermissions("qyh:meet:delete")
|
|
|
+ public R delete(@RequestBody Long[] ids) {
|
|
|
+ meetService.deleteByIds(ids);
|
|
|
+ return R.ok();
|
|
|
+ }
|
|
|
|
|
|
}
|