🎨 #2744 【企业微信】获取企业永久授权码接口补充推广码信息

This commit is contained in:
缪贵荣 2022-07-21 15:33:49 +08:00 committed by GitHub
parent 6cbfe0a3a3
commit c9803879f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,12 @@ public class WxCpTpPermanentCodeInfo extends WxCpBaseResp {
*/
@SerializedName("auth_user_info")
private AuthUserInfo authUserInfo;
/**
* 推广二维码安装相关信息
*/
@SerializedName("register_code_info")
private RegisterCodeInfo registerCodeInfo;
/**
* 企业当前生效的版本信息
@ -278,6 +284,34 @@ public class WxCpTpPermanentCodeInfo extends WxCpBaseResp {
@SerializedName("open_userid")
private String openUserid;
}
/**
* 推广二维码安装相关信息
*/
@Getter
@Setter
public static class RegisterCodeInfo implements Serializable {
private static final long serialVersionUID = -5028321625140879571L;
/**
* 注册码
*/
@SerializedName("register_code")
private String registerCode;
/**
* 推广包ID
*/
@SerializedName("template_id")
private String templateId;
/**
* 仅当获取注册码指定该字段时才返回
*/
@SerializedName("state")
private String state;
}
/**
* 应用对应的权限