REQ-3045: 减少响应大小
This commit is contained in:
parent
57b124ef0f
commit
8fb298d101
@ -4,9 +4,11 @@ import cn.axzo.msg.center.service.domain.DetailConfig;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@ -30,6 +32,7 @@ public class ParsedGroupInfo {
|
||||
/**
|
||||
* 详情信息
|
||||
*/
|
||||
@Nullable @JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
private ParsedGroupDetail parsedDetail;
|
||||
|
||||
@JsonIgnore @JSONField(serialize = false)
|
||||
|
||||
@ -4,9 +4,11 @@ import cn.axzo.msg.center.service.enums.GroupType;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
@ -42,6 +44,7 @@ public class ParsedGroupV3 {
|
||||
* <p/>
|
||||
* 由yoke填充
|
||||
*/
|
||||
@Nullable @JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
private WorkerInfo workerInfo;
|
||||
|
||||
@NotNull
|
||||
|
||||
@ -2,9 +2,12 @@ package cn.axzo.msg.center.service.pending.response.v3.model;
|
||||
|
||||
import cn.axzo.msg.center.service.enums.AppTerminalTypeEnum;
|
||||
import cn.axzo.msg.center.service.enums.WebPageOpenStrategy;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* @author yanglin
|
||||
*/
|
||||
@ -20,11 +23,13 @@ public class SessionUrlInfo {
|
||||
/**
|
||||
* 网页打开方式. NEW_PAGE: 新页面打开, CURRENT_PAGE: 当前页面打开, DRAWER: 抽屉
|
||||
*/
|
||||
@Nullable @JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
private WebPageOpenStrategy webOpenStrategy;
|
||||
|
||||
/**
|
||||
* 当前的端信息. B_ENTERPRISE_APP: B-安心筑企业版, C_WORKER_APP: C-安心筑工人版, CMS_WEB_PC: CMS PC端, OMS_WEB_PC: OMS PC端, PC_GA_GENERAL: 政府管理-政务
|
||||
*/
|
||||
@Nullable @JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
private AppTerminalTypeEnum appTerminalType;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user