|
@ -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("生成业务流程失败");
|