新增chatExtensionUrl字段
This commit is contained in:
parent
17344ec20a
commit
f62985f69d
@ -46,6 +46,10 @@ public class AgentInfo extends AgentSetter {
|
|||||||
* 企业应用是否被禁用
|
* 企业应用是否被禁用
|
||||||
*/
|
*/
|
||||||
private boolean close;
|
private boolean close;
|
||||||
|
/**
|
||||||
|
* 应用类型。1:消息型;2:主页型
|
||||||
|
*/
|
||||||
|
private int type;
|
||||||
|
|
||||||
public AgentInfo() {
|
public AgentInfo() {
|
||||||
super(0);
|
super(0);
|
||||||
@ -101,11 +105,18 @@ public class AgentInfo extends AgentSetter {
|
|||||||
this.close = close;
|
this.close = close;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getType() {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setType(int type) {
|
||||||
|
this.type = type;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "AgentInfo [squareLogoUrl=" + squareLogoUrl + ", roundLogoUrl="
|
return "AgentInfo [type=" + type + ", squareLogoUrl=" + squareLogoUrl + ", roundLogoUrl=" + roundLogoUrl
|
||||||
+ roundLogoUrl + ", allowUsers=" + allowUsers
|
+ ", allowUsers=" + allowUsers + ", allowPartys=" + allowPartys + ", allowTags=" + allowTags
|
||||||
+ ", allowPartys=" + allowPartys + ", allowTags=" + allowTags
|
|
||||||
+ ", close=" + close + ", " + super.toString() + "]";
|
+ ", close=" + close + ", " + super.toString() + "]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,8 +12,8 @@ import com.foxinmy.weixin4j.qy.type.ReportLocationType;
|
|||||||
* @author jinyu(foxinmy@gmail.com)
|
* @author jinyu(foxinmy@gmail.com)
|
||||||
* @date 2015年3月16日
|
* @date 2015年3月16日
|
||||||
* @since JDK 1.6
|
* @since JDK 1.6
|
||||||
* @see <a
|
* @see <a href=
|
||||||
* href="http://qydev.weixin.qq.com/wiki/index.php?title=%E8%AE%BE%E7%BD%AE%E4%BC%81%E4%B8%9A%E5%8F%B7%E5%BA%94%E7%94%A8">设置企业号应用</a>
|
* "http://qydev.weixin.qq.com/wiki/index.php?title=%E8%AE%BE%E7%BD%AE%E4%BC%81%E4%B8%9A%E5%8F%B7%E5%BA%94%E7%94%A8">设置企业号应用</a>
|
||||||
*/
|
*/
|
||||||
public class AgentSetter implements Serializable {
|
public class AgentSetter implements Serializable {
|
||||||
private static final long serialVersionUID = 5420335232308079801L;
|
private static final long serialVersionUID = 5420335232308079801L;
|
||||||
@ -41,7 +41,7 @@ public class AgentSetter implements Serializable {
|
|||||||
* 企业应用详情
|
* 企业应用详情
|
||||||
*/
|
*/
|
||||||
private String description;
|
private String description;
|
||||||
/**
|
/**chatExtensionUrl
|
||||||
* 企业应用可信域名
|
* 企业应用可信域名
|
||||||
*/
|
*/
|
||||||
@JSONField(name = "redirect_domain")
|
@JSONField(name = "redirect_domain")
|
||||||
@ -61,6 +61,11 @@ public class AgentSetter implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@JSONField(name = "home_url")
|
@JSONField(name = "home_url")
|
||||||
private String homeUrl;
|
private String homeUrl;
|
||||||
|
/**
|
||||||
|
* 关联会话url
|
||||||
|
*/
|
||||||
|
@JSONField(name = "chat_extension_url")
|
||||||
|
private String chatExtensionUrl;
|
||||||
|
|
||||||
public AgentSetter(int agentId) {
|
public AgentSetter(int agentId) {
|
||||||
this.agentId = agentId;
|
this.agentId = agentId;
|
||||||
@ -136,13 +141,19 @@ public class AgentSetter implements Serializable {
|
|||||||
this.homeUrl = homeUrl;
|
this.homeUrl = homeUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getChatExtensionUrl() {
|
||||||
|
return chatExtensionUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChatExtensionUrl(String chatExtensionUrl) {
|
||||||
|
this.chatExtensionUrl = chatExtensionUrl;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "agentId=" + agentId + ", reportLocationType="
|
return "agentId=" + agentId + ", reportLocationType=" + reportLocationType + ", logoMediaId=" + logoMediaId
|
||||||
+ reportLocationType + ", logoMediaId=" + logoMediaId
|
+ ", name=" + name + ", description=" + description + ", redirectDomain=" + redirectDomain
|
||||||
+ ", name=" + name + ", description=" + description
|
+ ", isReportUser=" + isReportUser + ", isReportEnter=" + isReportEnter + ", homeUrl=" + homeUrl
|
||||||
+ ", redirectDomain=" + redirectDomain + ", isReportUser="
|
+ ", chatExtensionUrl=" + chatExtensionUrl;
|
||||||
+ isReportUser + ", isReportEnter=" + isReportEnter
|
|
||||||
+ ", homeUrl=" + homeUrl;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user