Commit 69e5a524 authored by 田涛's avatar 田涛

预案接口优化

parent c13c7a25
......@@ -123,9 +123,9 @@ public class ContingencyPlanController extends BaseController {
* 删除预案
*/
@Permission
@ApiOperation(value = "停用预案", notes = "停用预案")
@ApiOperation(value = "删除预案", notes = "删除预案")
@DeleteMapping(value = "/{ids}", produces = "application/json;charset=UTF-8")
public CommonResponse deactivatePlan(@PathVariable(value = "ids") String idStr) {
public CommonResponse deletePlan(@PathVariable(value = "ids") String idStr) {
if (StringUtils.isBlank(idStr)) {
return CommonResponseUtil.failure("参数有误");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment