🎨 #1867【企业微信】优化完善第三方应用的接入代码

This commit is contained in:
xworks
2020-11-12 17:30:27 +08:00
committed by GitHub
parent edc04cb0ae
commit a2074a4d39
16 changed files with 1385 additions and 130 deletions

View File

@@ -140,6 +140,8 @@ public final class WxCpApiPathConsts {
public static final String GET_PROVIDER_TOKEN = "/cgi-bin/service/get_provider_token";
public static final String GET_PREAUTH_CODE = "/cgi-bin/service/get_pre_auth_code";
public static final String GET_AUTH_INFO = "/cgi-bin/service/get_auth_info";
public static final String GET_AUTH_CORP_JSAPI_TICKET = "/cgi-bin/get_jsapi_ticket";
public static final String GET_SUITE_JSAPI_TICKET = "/cgi-bin/ticket/get";
}
@UtilityClass

View File

@@ -0,0 +1,52 @@
package me.chanjar.weixin.cp.constant;
import lombok.experimental.UtilityClass;
public class WxCpTpConsts {
@UtilityClass
public static class InfoType {
/**
* 推送更新suite_ticket
*/
public static final String SUITE_TICKET = "suite_ticket";
/**
* 从企业微信应用市场发起授权时,授权成功通知
*/
public static final String CREATE_AUTH = "create_auth";
/**
* 从企业微信应用市场发起授权时,变更授权通知
*/
public static final String CHANGE_AUTH = "change_auth";
/**
* 从企业微信应用市场发起授权时,取消授权通知
*/
public static final String CANCEL_AUTH = "cancel_auth";
/**
* 通讯录变更通知
*/
public static final String CHANGE_CONTACT = "change_contact";
/**
* 用户进行企业微信的注册,注册完成回调通知
*/
public static final String REGISTER_CORP = "register_corp";
/**
* 异步任务回调通知
*/
public static final String BATCH_JOB_RESULT = "batch_job_result";
/**
* 外部联系人变更通知
*/
public static final String CHANGE_EXTERNAL_CONTACT = "change_external_contact";
}
}