@Transient 注解放在setter方法上
@Transient
public String getSina_access_token() {
return sina_access_token;
}
public void setSina_access_token(String sina_access_token) {
this.sina_access_token = sina_access_token;
}
使用 @Field注解中的ignoreFields
/**
* 跳转链接
*/
@Field(ignoreFields = {"appUrl"})
private String appUrl;