42 changed files with 1190 additions and 264 deletions
@ -0,0 +1,23 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @author zhaoqifeng |
||||
|
* @dscription |
||||
|
* @date 2020/7/14 17:50 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CodeCommonFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -8923691903900141713L; |
||||
|
/** |
||||
|
* 客户ID |
||||
|
*/ |
||||
|
private String customerId; |
||||
|
/** |
||||
|
* 代码ID |
||||
|
*/ |
||||
|
private String codeId; |
||||
|
} |
@ -0,0 +1,126 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.google.gson.annotations.SerializedName; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author zhaoqifeng |
||||
|
* @dscription |
||||
|
* @date 2020/7/14 16:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SubmitAuditFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -2136272127561529025L; |
||||
|
/** |
||||
|
* 上传代码ID |
||||
|
*/ |
||||
|
private String codeId; |
||||
|
|
||||
|
/** |
||||
|
* 小程序版本说明和功能解释 |
||||
|
*/ |
||||
|
private String versionDesc; |
||||
|
/** |
||||
|
* 反馈内容,至多 200 字 |
||||
|
*/ |
||||
|
private String feedbackInfo; |
||||
|
/** |
||||
|
* 用 | 分割的 media_id 列表,至多 5 张图片, 可以通过新增临时素材接口上传而得到 |
||||
|
*/ |
||||
|
private String feedbackStuff; |
||||
|
/** |
||||
|
* 审核项列表(选填,至多填写 5 项) |
||||
|
*/ |
||||
|
private List<ItemListBean> itemList; |
||||
|
/** |
||||
|
* 预览信息(小程序页面截图和操作录屏) |
||||
|
*/ |
||||
|
private List<PreviewInfoBean> previewInfo; |
||||
|
/** |
||||
|
* 用户生成内容场景(UGC)信息安全声明 |
||||
|
*/ |
||||
|
private List<UgcDeclareBean> ugcDeclare; |
||||
|
|
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
private static class ItemListBean { |
||||
|
/** |
||||
|
* 小程序的页面,可通过获取小程序的页面列表接口获得 |
||||
|
*/ |
||||
|
private String address; |
||||
|
/** |
||||
|
* 小程序的标签,用空格分隔,标签至多 10 个,标签长度至多 20 |
||||
|
*/ |
||||
|
private String tag; |
||||
|
/** |
||||
|
* 一级类目名称 |
||||
|
*/ |
||||
|
private String firstClass; |
||||
|
/** |
||||
|
* 二级类目名称 |
||||
|
*/ |
||||
|
private String secondClass; |
||||
|
/** |
||||
|
* 三级类目名称 |
||||
|
*/ |
||||
|
private String thirdClass; |
||||
|
/** |
||||
|
* 一级类目的 ID |
||||
|
*/ |
||||
|
private String firstId; |
||||
|
/** |
||||
|
* 二级类目的 ID |
||||
|
*/ |
||||
|
private String secondId; |
||||
|
/** |
||||
|
* 三级类目的 ID |
||||
|
*/ |
||||
|
private String thirdId; |
||||
|
/** |
||||
|
* 小程序页面的标题,标题长度至多 32 |
||||
|
*/ |
||||
|
private String title; |
||||
|
} |
||||
|
|
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
private static class PreviewInfoBean { |
||||
|
/** |
||||
|
* 录屏mediaid列表,可以通过提审素材上传接口获得 |
||||
|
*/ |
||||
|
private List<String> videoIdList; |
||||
|
/** |
||||
|
* 截屏mediaid列表,可以通过提审素材上传接口获得 |
||||
|
*/ |
||||
|
private List<String> picIdList; |
||||
|
} |
||||
|
|
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
private static class UgcDeclareBean { |
||||
|
/** |
||||
|
* UGC场景 0,不涉及用户生成内容, 1.用户资料,2.图片,3.视频,4.文本,5其他, 可多选,当scene填0时无需填写下列字段 |
||||
|
*/ |
||||
|
private List<Integer> scene; |
||||
|
/** |
||||
|
* 当scene选其他时的说明,不超时256字 |
||||
|
*/ |
||||
|
private String otherSceneDesc; |
||||
|
/** |
||||
|
* 内容安全机制 1.使用平台建议的内容安全API,2.使用其他的内容审核产品,3.通过人工审核把关,4.未做内容审核把关 |
||||
|
*/ |
||||
|
private List<Integer> method; |
||||
|
/** |
||||
|
* 是否有审核团队, 0.无,1.有,默认0 |
||||
|
*/ |
||||
|
private Integer hasAuditTeam; |
||||
|
/** |
||||
|
* 说明当前对UGC内容的审核机制,不超过256字 |
||||
|
*/ |
||||
|
private String auditDesc; |
||||
|
} |
||||
|
} |
@ -0,0 +1,46 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @author zhaoqifeng |
||||
|
* @dscription |
||||
|
* @date 2020/7/14 15:57 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class UploadListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 5733465036099223190L; |
||||
|
/** |
||||
|
* 客户ID |
||||
|
*/ |
||||
|
private String customerId; |
||||
|
/** |
||||
|
* 小程序类型 居民端resi,工作端work |
||||
|
*/ |
||||
|
private String clientType; |
||||
|
/** |
||||
|
* 状态 |
||||
|
*/ |
||||
|
private String status; |
||||
|
/** |
||||
|
* 开始时间 |
||||
|
*/ |
||||
|
private String startTime; |
||||
|
/** |
||||
|
* 结束时间 |
||||
|
*/ |
||||
|
private String endTime; |
||||
|
/** |
||||
|
* 页数 |
||||
|
*/ |
||||
|
private Integer page; |
||||
|
/** |
||||
|
* 页面条数 |
||||
|
*/ |
||||
|
private Integer limit; |
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @author zhaoqifeng |
||||
|
* @dscription |
||||
|
* @date 2020/7/14 15:22 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class TemplateListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -5545336708096791516L; |
||||
|
/** |
||||
|
* 模板 id |
||||
|
*/ |
||||
|
private String templateId; |
||||
|
/** |
||||
|
* 模板描述 |
||||
|
*/ |
||||
|
private String userDesc; |
||||
|
/** |
||||
|
* 模板版本号 |
||||
|
*/ |
||||
|
private String userVersion; |
||||
|
/** |
||||
|
* 模板创建时间yyyy-mm-dd |
||||
|
*/ |
||||
|
private String createTime; |
||||
|
} |
@ -0,0 +1,62 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @author zhaoqifeng |
||||
|
* @dscription |
||||
|
* @date 2020/7/14 16:20 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class UploadListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -8110308954072076978L; |
||||
|
/** |
||||
|
* 代码ID |
||||
|
*/ |
||||
|
private String id; |
||||
|
/** |
||||
|
* 客户名 |
||||
|
*/ |
||||
|
private String customerId; |
||||
|
/** |
||||
|
* 客户名 |
||||
|
*/ |
||||
|
private String customerName; |
||||
|
/** |
||||
|
* 居民端resi 工作端work |
||||
|
*/ |
||||
|
private String clientType; |
||||
|
/** |
||||
|
* 代码描述 |
||||
|
*/ |
||||
|
private String codeInfo; |
||||
|
/** |
||||
|
* 版本号 |
||||
|
*/ |
||||
|
private String version; |
||||
|
/** |
||||
|
* 状态 未审核:unaudited,审核中:auditing,审核成功audit_success,审核被拒绝audit_failed,已撤回:withdrawn,审核延后:delay,发布成功release_success, 发布失败release_failed |
||||
|
*/ |
||||
|
private String status; |
||||
|
/** |
||||
|
* 上传时间 |
||||
|
*/ |
||||
|
private String uploadTime; |
||||
|
/** |
||||
|
* 审核ID |
||||
|
*/ |
||||
|
private String auditId; |
||||
|
/** |
||||
|
* 小程序APP ID |
||||
|
*/ |
||||
|
private String appId; |
||||
|
/** |
||||
|
* 提交审核时间 |
||||
|
*/ |
||||
|
private String auditTime; |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
version: "3.7" |
||||
|
services: |
||||
|
epmet-third-server: |
||||
|
container_name: epmet-third-server-prod |
||||
|
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-master/epmet-third-server:0.0.12 |
||||
|
ports: |
||||
|
- "8110:8110" |
||||
|
network_mode: host # 使用现有网络 |
||||
|
volumes: |
||||
|
- "/opt/epmet-cloud-logs/prod:/logs" |
||||
|
environment: |
||||
|
RUN_INSTRUCT: "java -Xms256m -Xmx512m -jar ./app.jar" |
||||
|
deploy: |
||||
|
resources: |
||||
|
limits: |
||||
|
cpus: '0.1' |
||||
|
memory: 600M |
@ -0,0 +1,49 @@ |
|||||
|
package com.epmet.constant; |
||||
|
|
||||
|
/** |
||||
|
* @author zhaoqifeng |
||||
|
* @dscription |
||||
|
* @date 2020/7/15 14:39 |
||||
|
*/ |
||||
|
public interface CodeConstant { |
||||
|
/** |
||||
|
* 居民端 |
||||
|
*/ |
||||
|
String RESI = "resi"; |
||||
|
/** |
||||
|
* 工作端 |
||||
|
*/ |
||||
|
String WORK = "work"; |
||||
|
/** |
||||
|
* 未审核 |
||||
|
*/ |
||||
|
String UNAUDITED = "unaudited"; |
||||
|
/** |
||||
|
* 审核中 |
||||
|
*/ |
||||
|
String AUDITING = "auditing"; |
||||
|
/** |
||||
|
* 审核成功 |
||||
|
*/ |
||||
|
String AUDIT_SUCCESS = "audit_success"; |
||||
|
/** |
||||
|
* 审核被拒绝 |
||||
|
*/ |
||||
|
String AUDIT_FAILED = "audit_failed"; |
||||
|
/** |
||||
|
* 已撤回 |
||||
|
*/ |
||||
|
String WITHDRAWN = "withdrawn"; |
||||
|
/** |
||||
|
* 审核延后 |
||||
|
*/ |
||||
|
String DELAY = "delay"; |
||||
|
/** |
||||
|
* 发布成功 |
||||
|
*/ |
||||
|
String RELEASE_SUCCESS = "release_success"; |
||||
|
/** |
||||
|
* 发布失败 |
||||
|
*/ |
||||
|
String RELEASE_FAILED = "release_failed"; |
||||
|
} |
@ -0,0 +1,32 @@ |
|||||
|
package com.epmet.wxapi.result; |
||||
|
|
||||
|
import com.google.gson.annotations.SerializedName; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author zhaoqifeng |
||||
|
* @dscription |
||||
|
* @date 2020/7/15 10:22 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WxMaTemplateListResult implements Serializable { |
||||
|
private static final long serialVersionUID = -331693492663419441L; |
||||
|
/** |
||||
|
* 返回码 |
||||
|
*/ |
||||
|
@SerializedName("errcode") |
||||
|
private Integer errCode; |
||||
|
/** |
||||
|
* 错误信息 |
||||
|
*/ |
||||
|
@SerializedName("errmsg") |
||||
|
private String errMsg; |
||||
|
/** |
||||
|
* 模板信息列表 |
||||
|
*/ |
||||
|
@SerializedName("template_list") |
||||
|
private List<WxMaTemplateResult> templateList; |
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
package com.epmet.wxapi.result; |
||||
|
|
||||
|
import com.google.gson.annotations.SerializedName; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @author zhaoqifeng |
||||
|
* @dscription |
||||
|
* @date 2020/7/15 10:24 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WxMaTemplateResult implements Serializable { |
||||
|
private static final long serialVersionUID = 5770192375722597547L; |
||||
|
/** |
||||
|
* 模板 id |
||||
|
*/ |
||||
|
@SerializedName("template_id") |
||||
|
private String templateId; |
||||
|
/** |
||||
|
* 模板版本号,开发者自定义字段 |
||||
|
*/ |
||||
|
@SerializedName("user_version") |
||||
|
private String userVersion; |
||||
|
/** |
||||
|
* 模板描述,开发者自定义字段 |
||||
|
*/ |
||||
|
@SerializedName("user_desc") |
||||
|
private String userDesc; |
||||
|
/** |
||||
|
* 被添加为模板的时间 |
||||
|
*/ |
||||
|
@SerializedName("create_time") |
||||
|
private Long createTime; |
||||
|
} |
Loading…
Reference in new issue