mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-27 11:53:48 +08:00
🎨 小程序代码提交审核代码重构优化,删除重复定义类
This commit is contained in:
@ -1,25 +0,0 @@
|
||||
package me.chanjar.weixin.open.bean.ma;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author zxfreedom
|
||||
* @description
|
||||
* created on 2019/12/30
|
||||
*/
|
||||
@Data
|
||||
public class WxOpenMaPreviewInfo {
|
||||
|
||||
/**
|
||||
* 录屏mediaid列表,可以通过提审素材上传接口获得
|
||||
*/
|
||||
@SerializedName("video_id_list")
|
||||
private String[] videoIdList;
|
||||
|
||||
/**
|
||||
* 截屏mediaid列表,可以通过提审素材上传接口获得
|
||||
*/
|
||||
@SerializedName("pic_id_list")
|
||||
private String[] picIdList;
|
||||
}
|
||||
@ -1,60 +0,0 @@
|
||||
package me.chanjar.weixin.open.bean.ma;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 三方平台提交小程序代码审核
|
||||
*
|
||||
* @author yqx
|
||||
* created on 2018/9/13
|
||||
*/
|
||||
@Data
|
||||
public class WxOpenMaSubmitAudit implements Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 小程序的页面,可通过“获取小程序的第三方提交代码的页面配置”接口获得
|
||||
*/
|
||||
@SerializedName("address")
|
||||
private String pagePath;
|
||||
|
||||
/**
|
||||
* 小程序的标签,多个标签用空格分隔,标签不能多于10个,标签长度不超过20
|
||||
*/
|
||||
@SerializedName("tag")
|
||||
private String tag;
|
||||
|
||||
/**
|
||||
* 类目名称,可通过“获取授权小程序帐号的可选类目”接口获得
|
||||
*/
|
||||
@SerializedName("first_class")
|
||||
private String firstClass;
|
||||
|
||||
@SerializedName("second_class")
|
||||
private String secondClass;
|
||||
|
||||
@SerializedName("third_class")
|
||||
private String thirdClass;
|
||||
|
||||
/**
|
||||
* 类目的ID,可通过“获取授权小程序帐号的可选类目”接口获得
|
||||
*/
|
||||
@SerializedName("first_id")
|
||||
private Integer firstId;
|
||||
|
||||
@SerializedName("second_id")
|
||||
private Integer secondId;
|
||||
|
||||
@SerializedName("third_id")
|
||||
private Integer thirdId;
|
||||
|
||||
/**
|
||||
* 小程序页面的标题,标题长度不超过32
|
||||
*/
|
||||
@SerializedName("title")
|
||||
private String title;
|
||||
|
||||
}
|
||||
@ -1,9 +1,9 @@
|
||||
package me.chanjar.weixin.open.bean.message;
|
||||
|
||||
import cn.binarywang.wx.miniapp.bean.code.WxMaCodeSubmitAuditItem;
|
||||
import cn.binarywang.wx.miniapp.bean.code.WxMaCodeSubmitAuditPreviewInfo;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import me.chanjar.weixin.open.bean.ma.WxOpenMaPreviewInfo;
|
||||
import me.chanjar.weixin.open.bean.ma.WxOpenMaSubmitAudit;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
@ -22,13 +22,13 @@ public class WxOpenMaSubmitAuditMessage implements Serializable {
|
||||
* 提交审核项的一个列表(至少填写1项,至多填写5项)
|
||||
*/
|
||||
@SerializedName("item_list")
|
||||
private List<WxOpenMaSubmitAudit> itemList;
|
||||
private List<WxMaCodeSubmitAuditItem> itemList;
|
||||
|
||||
/**
|
||||
* 预览信息(小程序页面截图和操作录屏)
|
||||
*/
|
||||
@SerializedName("preview_info")
|
||||
private WxOpenMaPreviewInfo previewInfo;
|
||||
private WxMaCodeSubmitAuditPreviewInfo previewInfo;
|
||||
|
||||
/**
|
||||
* 小程序版本说明和功能解释
|
||||
@ -53,4 +53,10 @@ public class WxOpenMaSubmitAuditMessage implements Serializable {
|
||||
*/
|
||||
@SerializedName("privacy_api_not_use")
|
||||
private Boolean privacyApiNotUse;
|
||||
|
||||
/**
|
||||
* 订单中心path
|
||||
*/
|
||||
@SerializedName("order_path")
|
||||
private String orderPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user