cm-cloud/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/IApiConsts.java
2021-06-25 00:40:56 +08:00

219 lines
6.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.cm.common.plugin;
/**
* @ClassName: IApiConsts
* @Description: API接口
* @Author: WangGeng
* @Date: 2019/4/22 6:43 PM
* @Version: 1.0
**/
public interface IApiConsts {
/**
* access_token
*/
String ACCESS_TOKEN = "access_token";
/**
* 菜单列表
*/
String LIST_MENU = "%s/resource/menu/listmenubyclientid/%s";
/**
* 通过客户端和用户获取菜单列表
*/
String LIST_MENU_BY_USER = "%s/resource/menu/listmenubyclientid/%s/%s";
/**
* 父ID获取部门列表
*/
String LIST_DEPARTMENT = "%s/resource/department/listdepartments/%s";
/**
* 父ID获取全部部门
*/
String LIST_ALL_DEPARTMENT = "%s/resource/department/listalldepartments/%s";
/**
* 组织部门用户列表
*/
String LIST_DEPARTMENT_USER = "%s/resource/user/listdepartmentusers/%s";
/**
* 角色用户列表
*/
String LIST_ROLE_USER = "%s/resource/user/listroleusers/%s";
/**
* 组用户列表
*/
String LIST_GROUP_USER = "%s/resource/user/listgroupusers/%s";
/**
* 职位用户列表
*/
String LIST_POSITION_USER = "%s/resource/user/listpositionusers/%s";
/**
* 用户列表通过ID获取
*/
String LIST_USER_BY_ID = "%s/resource/user/listuserbyids";
/**
* 用户列表,通过用户名
*/
String LIST_USER_BY_USERNAME = "%s/resource/user/listuserbyusernames";
/**
* 全部用户
*/
String LIST_ALL_USER = "%s/resource/user/listalluser";
/**
* 获取用户所在部门用户列表
*/
String LIST_USER_DEPARTMENT_USER = "%s/resource/user/listuserdepartmentuser/%s";
/**
* 获取用户所在部门用户列表(通过角色)
*/
String LIST_USER_DEPARTMENT_USER_BY_ROLE = "%s/resource/user/listuserdepartmentuserbyrole/%s/%s";
/**
* App获取用户所在部门用户列表通过角色
*/
String APP_LIST_USER_DEPARTMENT_USER_BY_ROLE = "%s/app/user/listuserdepartmentuserbyrole/%s/%s";
/**
* 获取用户所在部门用户列表(通过职位)
*/
String LIST_USER_DEPARTMENT_USER_BY_POSITION = "%s/resource/user/listuserdepartmentuserbyposition/%s/%s";
/**
* 获取用户职位列表
*/
String LIST_USER_POSITION = "%s/resource/position/listuserposition/%s";
/**
* 用户详情
*/
String GET_USER_DETAIL = "%s/resource/user/getuserdetail/%s";
/**
* 密码状态
*/
String GET_PASSWORD_STATUS = "%s/resource/user/getpasswordstatus";
/**
* 修改密码
*/
String UPDATE_USER_PASSWORD = "%s/resource/user/updateuserpassword/%s";
/**
* 部门人员列表ZTree格式
*/
String LIST_ZTREE_DEPARTMENT_WITH_USER = "%s/resource/department/listztreedepartmentwithuser";
/**
* 部门人员列表
*/
String LIST_DEPARTMENT_USER_BY_USER_DEPARTMENT_ID = "%s/resource/user/listdepartmentuserbyuserdepartmentid";
/**
* 部门zTree
*/
String LIST_ZTREE_DEPARTMENT = "%s/resource/department/listztreedepartment";
/**
* 角色zTree
*/
String LIST_ZTREE_ROLE = "%s/resource/role/listztreerole";
/**
* 职位zTree
*/
String LIST_ZTREE_POSITION = "%s/resource/position/listztreeposition";
/**
* 获取所有用户列表通过上级区域ID
*/
String LIST_USER_ALL_BY_AREA_ID = "%s/resource/user/listuserallbyareaid";
/**
* 获取所有用户ID列表通过上级区域ID
*/
String LIST_USER_ID_ALL_BY_AREA_ID = "%s/resource/user/listuseridallbyareaid";
/**
* 获取用户列表通过上级区域ID
*/
String LIST_USER_BY_AREA_ID = "%s/resource/user/listuserbyareaid";
/**
* 获取用户ID列表通过上级区域ID
*/
String LIST_USER_ID_BY_AREA_ID = "%s/resource/user/listuseridbyareaid";
/**
* 用户列表(简单格式)
*/
String LIST_PAGE_USER_SIMPLE = "%s/resource/user/listpageusersimple";
/**
* 用户动态详情列表通过id列表
*/
String LIST_DYNAMIC_USER_INFO_BY_IDS = "%s/resource/userinfo/listdynamicuserinfobyids";
/**
* 用户动态详情通过id列表
*/
String GET_DYNAMIC_USER_INFO_BY_ID = "%s/resource/userinfo/getdynamicuserinfobyid/%s";
/**
* 获取用户通过ID
*/
String GET_USER_DEPARTMENT_RESOURCE_BY_ID = "%s/resource/user/getuserdepartmentresourcebyid/%s";
/**
* 获取用户列表通过ID
*/
String LIST_USER_DEPARTMENT_RESOURCE_BY_IDS = "%s/resource/user/listuserdepartmentresourcebyids";
/**
* 获取用户列表通过部门ID列表
*/
String LIST_USER_DEPARTMENT_RESOURCE_BY_DEPARTMENT_IDS = "%s/resource/user/listuserdepartmentresourcebydepartmentids";
/**
* 获取所在部门用户列表通过用户ID和角色ID列表
*/
String LIST_USER_DEPARTMENT_RESOURCE_BY_USER_ID_AND_ROLE_IDS = "%s/resource/user/listuserdepartmentresourcebyuseridandroleids/%s";
/**
* 获取用户列表通过角色ID列表
*/
String LIST_USER_DEPARTMENT_RESOURCE_BY_ROLE_IDS = "%s/resource/user/listuserdepartmentresourcebyroleids";
/**
* 获取所在部门用户列表通过用户ID和职位ID列表
*/
String LIST_USER_DEPARTMENT_RESOURCE_BY_USER_ID_AND_POSITION_IDS = "%s/resource/user/listuserdepartmentresourcebyuseridandpositionids/%s";
/**
* 获取所在部门用户列表通过职位ID列表
*/
String LIST_USER_DEPARTMENT_RESOURCE_BY_POSITION_IDS = "%s/resource/user/listuserdepartmentresourcebypositionids";
/**
* 组织部门人员分页列表
*/
String LIST_SELECT_DEPARTMENT_USER = "%s/resource/user/listselectdepartmentuser/%s";
/**
* 通过id列表获取用户ID
*/
String LIST_PAGE_SELECT_DEPARTMENT_USER = "%s/resource/user/listpageselectdepartmentuser/%s";
/**
* 发送钉钉消息通过电话列表
*/
String SEND_DINGDING_MSG_BY_PHONES = "%s/resource/dingdingmessage/sendbyphones";
/**
* 资源用户列表
*/
String LIST_USER_RESOURCE_BY_KEYWORDS = "%s/resource/user/listresourcebykeywords/%s";
/**
* LayIM 部门用户
*/
String LIST_LAYIM_DEPARTMENT_USER = "%s/resource/user/im/listdepartmentuser";
/**
* 部门列表
*/
String LIST_DEPARTMENT_SORT = "%s/resource/department/list-sort";
}