文档
测试

版本-版本是否更新

POST
http://47.108.179.208:8060/v1.0/version/check

请求参数

参数名
类型
描述
必填
version
int
示例:100
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
id
int
示例:2
必填
status
int
示例:1
必填
updatePath
string
示例:https://hqf-charge.oss-cn-hangzhou.aliyuncs.com/apk/yaunqi_hqf_1_3_0.apk?Expires=1632612563&OSSAccessKeyId=LTAI4G9XVwaxi9YAa1hbwsRj&Signature=Y8YbL9rIS4L0noMQ99%2BkWJ2pSv0%3D
必填
updateContent
string
示例:你好,我来强制更新了
必填
version
int
示例:103
必填
isReturn
int
示例:1
必填
createUserId
int
示例:2
必填
createTime
string
示例:2021-06-02 05:29:36
必填
updateTime
string
示例:2021-06-02 05:29:33
必填
updateUserId
int
示例:2
必填
message
string
示例:操作成功
必填

说明 / 示例

public class ApkVersion implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "主键id") @TableId(value = "id", type = IdType.AUTO) private Integer id; @ApiModelProperty(value = "状态[0:非强制更新 1:强制更新 2:不更新]") private Integer status; @ApiModelProperty(value = "更新地址") private String updatePath; @ApiModelProperty(value = "更新内容") private String updateContent; @ApiModelProperty(value = "版本号") private Integer version; @ApiModelProperty(value = "是否返回[0: 否 1:是]") private Integer isReturn; @ApiModelProperty(value = "创建人id") private Integer createUserId; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建时间") @TableField(fill = FieldFill.INSERT) private Date createTime; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "更新时间") @TableField(fill = FieldFill.INSERT_UPDATE) private Date updateTime; @ApiModelProperty(value = "修改人id") private Integer updateUserId; }