cm-cloud/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/IApiConsts.java
2019-09-04 09:09:32 +08:00

77 lines
1.8 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 {
/**
* 菜单列表
*/
String LIST_MENU = "%s/resource/menu/listmenubyclientid/%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_ALL_USER = "%s/resource/user/listalluser";
/**
* 获取用户所在部门用户列表(通过角色)
*/
String LIST_USER_DEPARTMENT_USER_BY_ROLE = "%s/resource/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";
}