🎨 #3662 【企业微信】修复获取审批模板详情接口异常的问题:Expected BEGIN_OBJECT but was BEGIN_ARRAY
This commit is contained in:
@@ -17,7 +17,7 @@ import java.util.List;
|
||||
/**
|
||||
* 审批模板详情
|
||||
*
|
||||
* @author gyv12345 @163.com / Wang_Wong
|
||||
* @author gyv12345@163.com / Wang_Wong
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@@ -121,7 +121,7 @@ public class WxCpOaApprovalTemplateResult implements Serializable {
|
||||
|
||||
/**
|
||||
* 获取审批模板详情,value为list类型
|
||||
* https://developer.work.weixin.qq.com/document/path/91982
|
||||
* <a href="https://developer.work.weixin.qq.com/document/path/91982">文档链接</a>
|
||||
*/
|
||||
@SerializedName("value")
|
||||
private List<TemplateTitle> value;
|
||||
|
||||
@@ -3,6 +3,7 @@ package me.chanjar.weixin.cp.bean.oa.templatedata;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* The type Template options.
|
||||
@@ -17,11 +18,8 @@ public class TemplateOptions implements Serializable {
|
||||
private String key;
|
||||
|
||||
/**
|
||||
* 创建审批模板,value为对象类型
|
||||
* https://developer.work.weixin.qq.com/document/path/97437#%E9%99%845-%E5%8D%95%E9%80%89%E5%A4%9A%E9%80%89%E6%8E%A7%E4%BB%B6%EF%BC%88control%E5%8F%82%E6%95%B0%E4%B8%BAselector%EF%BC%89
|
||||
*
|
||||
* 获取审批模板详情,value为list类型
|
||||
* https://developer.work.weixin.qq.com/document/path/91982
|
||||
* <a href="https://developer.work.weixin.qq.com/document/path/97437#%E9%99%845-%E5%8D%95%E9%80%89%E5%A4%9A%E9%80%89%E6%8E%A7%E4%BB%B6%EF%BC%88control%E5%8F%82%E6%95%B0%E4%B8%BAselector%EF%BC%89">创建审批模板,value为对象类型</a>
|
||||
* <a href="https://developer.work.weixin.qq.com/document/path/91982">获取审批模板详情,value为list类型</a>
|
||||
**/
|
||||
private TemplateTitle value;
|
||||
private List<TemplateTitle> value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user