update 调整流程xml查询

This commit is contained in:
gssong 2024-10-13 13:56:51 +08:00
parent 49112f43aa
commit ccf28de33d
2 changed files with 2 additions and 3 deletions

View File

@ -168,7 +168,7 @@ public class FlwDefinitionController extends BaseController {
*/
@GetMapping("/xmlString/{id}")
public R<String> xmlString(@PathVariable Long id) {
return R.ok(defService.xmlString(id));
return R.ok("操作成功", defService.xmlString(id));
}
/**
@ -179,7 +179,7 @@ public class FlwDefinitionController extends BaseController {
*/
@GetMapping("/flowChart/{instanceId}")
public R<String> flowChart(@PathVariable Long instanceId) throws IOException {
return R.ok(defService.flowChart(instanceId));
return R.ok("操作成功", defService.flowChart(instanceId));
}
/**

View File

@ -1,6 +1,5 @@
package org.dromara.workflow.service;
import com.warm.flow.core.entity.Definition;
import com.warm.flow.orm.entity.FlowDefinition;
import jakarta.servlet.http.HttpServletResponse;
import org.dromara.common.mybatis.core.page.PageQuery;