| package com.doumee.core.utils.qiyeweixin.model.response; | 
|   | 
| import com.alibaba.fastjson.annotation.JSONField; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * @author 江蹄蹄 | 
|  * @date 2023/11/23 14:03 | 
|  */ | 
| @Data | 
| @ApiModel("企业微信接口处理返回参数") | 
| public class QywxBaseResponse<T> { | 
|     public static final String CODE_SUCCESS = "1"; | 
|     @ApiModelProperty(value = "返回参数"  ) | 
|     @JSONField(name="records",alternateNames = {"department","userlist","userid"}) | 
|     private T data; | 
|     @ApiModelProperty(value = "出错返回码,为0表示成功,非0表示调用失败") | 
|     private Integer errcode; | 
|   | 
|     @ApiModelProperty(value = "返回码提示语") | 
|     private String errmsg; | 
|     @ApiModelProperty(value = "获取到的凭证,最长为512字节") | 
|     private String access_token; | 
|     @ApiModelProperty(value = "获取到的凭证,最长为512字节") | 
|     private String ticket; | 
|   | 
|     @ApiModelProperty(value = "凭证的有效时间") | 
|     private Long expires_in; | 
|   | 
| } |