|
@@ -1,6 +1,5 @@
|
|
|
package com.persagy.adm.diagram.controller;
|
|
|
|
|
|
-import cn.hutool.json.JSONUtil;
|
|
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
|
|
import com.persagy.adm.diagram.core.ContentParser;
|
|
|
import com.persagy.adm.diagram.core.DataStrategy;
|
|
@@ -227,7 +226,7 @@ public class DiagramController {
|
|
|
*/
|
|
|
@ApiOperation("系统图状态变更")
|
|
|
@PostMapping("/update/state")
|
|
|
- public CommonResult<Boolean> updateState(@RequestBody Map<String,String> params) {
|
|
|
- return ResultHelper.single(dataStrategy.updateState(params.get("state"),params.get("id")));
|
|
|
+ public CommonResult<Boolean> updateState(@RequestBody Map<String, String> params) {
|
|
|
+ return ResultHelper.single(dataStrategy.updateState(params.get("state"), params.get("id")));
|
|
|
}
|
|
|
}
|