♻️ Refactoring code. 适配最新 flowable 工作流代码

This commit is contained in:
lbw committed 2023-09-01 14:22:55 +08:00
1 parent 1020954ec0
commit 0a03ea4b80
3 files changed
+19 -5

No files matched your search

@@ -85,6 +85,11 @@ public interface SecurityConstants {
*/
String FROM = "from";
/**
* 请求header
*/
String HEADER_FROM_IN = FROM + "=" + FROM_IN;
/**
* OAUTH URL
*/
@@ -35,14 +35,19 @@ public interface ServiceNameConstants {
*/
String UPMS_SERVICE = "pigx-upms-biz";
/**
* 分布式事务协调服务
*/
String TX_MANAGER = "pigx-tx-manager";
/**
* app服务
*/
String APP_SERVER = "pigx-app-server-biz";
/**
* 流程引擎
*/
String FLOW_ENGINE_SERVER = "pigx-flow-engine-biz";
/**
* 流程工单
*/
String FLOW_TASK_SERVER = "pigx-flow-task-biz";
}
@@ -93,4 +93,8 @@ public class R<T> implements Serializable {
return apiResult;
}
public boolean isOk() {
return this.code == CommonConstants.SUCCESS;
}
}