|
|
@@ -24,6 +24,8 @@ public class FlowableService {
|
|
|
public final static String ADD_USER = "api/addUser";
|
|
|
// 删除用户
|
|
|
public final static String DELETE_USER = "api/deleteUser";
|
|
|
+ // 删除用户与分组关系
|
|
|
+ public final static String DELETE_USER_GROUP = "api/deleteUserGroup";
|
|
|
// 新增分组
|
|
|
public final static String ADD_GROUP = "api/addGroup";
|
|
|
// 删除分组
|
|
|
@@ -71,6 +73,12 @@ public class FlowableService {
|
|
|
m.put("id", id);
|
|
|
return apiPost(DELETE_USER, m);
|
|
|
}
|
|
|
+ public Map<String, Object> deleteFlowableUserGroup(String userId, String groupId) {
|
|
|
+ Map<String, Object> m = new HashMap<>();
|
|
|
+ m.put("userId", userId);
|
|
|
+ m.put("groupId", groupId);
|
|
|
+ return apiPost(DELETE_USER_GROUP, m);
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 新增部门
|