package com.ycl.common.constant;
|
/**
|
* ding 需要的常量
|
*/
|
public interface DingConst {
|
/**
|
* appkey
|
*/
|
String APP_KEY = ""; //正式
|
/**
|
* secretKey
|
*/
|
String SECRET_KEY = ""; //正式
|
|
/*******接口********/
|
/**
|
* 超管租户id
|
*/
|
// String TENANT_ID = "50245108";//测试
|
// String TENANT_ID = "196729"; //正式
|
|
/**
|
* 钉 域名
|
*/
|
// String DOMAIN_NAME = "openplatform.dg-work.cn";// 测试:专有钉钉
|
String DOMAIN_NAME = "openplatform-pro.ding.zj.gov.cn";// 正式:浙政钉
|
/**
|
* 钉 请求协议
|
*/
|
String PROTOCAL = "https";
|
|
/**
|
* TOKEN 获取接口
|
*/
|
String GET_TOKEN = "/gettoken.json";
|
/**
|
* TOKEN 获取接口
|
*/
|
String GET_TIKER = "/get_jsapi_token.json";
|
|
/**
|
* 获取用户信息接口
|
*/
|
String GET_USER_INFO = "/rpc/oauth2/dingtalk_app_user.json";
|
/**
|
* 根据员工Code查询详情
|
*/
|
String GET_EMP_BY_CODE = "/mozi/employee/getEmployeeByCode";
|
|
/**
|
* 获取通讯录权限范围
|
*/
|
String GET_BOOK_AUTH = "/auth/scopesV2";
|
|
/**
|
* 分页获取下⼀级组织 Code 列表
|
*/
|
String POST_ORG_PAGE_CODE_LIST = "/mozi/organization/pageSubOrganizationCodes";
|
|
/**
|
* 批量根据组织Code查询详情
|
*/
|
String POST_ORG_DETIAL_CODE_BATTH = "/mozi/organization/listOrganizationsByCodes";
|
|
/**
|
* 查询组织下人员详情
|
*/
|
String POST_PERSON_INFO_BY_ORG_CODE = "/mozi/organization/pageOrganizationEmployeePositions";
|
|
/**
|
* 查询员工任职
|
*/
|
String POST_STAFF_APPOINTMENT = "/mozi/employee/listEmployeePositionsByEmployeeCode";
|
|
/**
|
* 根据组织Code查询详情
|
*/
|
String POST_ORG_BY_CODE = "/mozi/organization/getOrganizationByCode";
|
|
/**
|
* 发送工作消息通知
|
*/
|
String POST_SEND_NOTIFY = "/message/workNotification";
|
|
/**
|
* 发送ding 工作消息链接
|
*/
|
String SEND_DING_WORK_LINK = "dingtalkind://dingtalkclient/page/link?url=";
|
|
/**
|
* 获取视频
|
*/
|
String GET_VIDEO="/media/download";
|
|
|
|
}
|