Browse Source

流程编辑器逻辑修改

zhenglingfeng 8 years ago
parent
commit
8274e3f32f

+ 3 - 3
src/main/java/com/yihu/hos/system/controller/ProcessController.java

@ -49,11 +49,11 @@ public class ProcessController  extends BaseController {
        }
    }
    @RequestMapping(value = "/chat", method = RequestMethod.POST)
    @RequestMapping(value = "/chart", method = RequestMethod.GET)
    @ResponseBody
    public Result getFlowchat(Integer flowId) {
    public Result getFlowchart(Integer flowId) {
        try {
            String flowchat = processManager.getFlowchat(flowId);
            String flowchat = processManager.getFlowchart(flowId);
            return Result.success(flowchat);
        } catch (Exception e) {
            return Result.error("生成业务流程失败");