|
|
# 上传APP包
|
|
|
|
|
|
> 接口名: `/AppVersionRest/setAppVersion`
|
|
|
|
|
|
### 方法
|
|
|
|
|
|
> POST JSONRAW
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|长度限制|
|
|
|
|-------|----|----|----|-------|--------|
|
|
|
|appVersion|String|4.4.0|app版本|是|1~11
|
|
|
|clientType|String|iphone,android,ipad|安装包类型|是|1~11
|
|
|
|url|String||上传的url地址|是|1~500
|
|
|
|content|String||备注|是|1~500
|
|
|
|status|String||状态('0 关闭 1 开启',)|否|1~10
|
|
|
--------------------------------
|
|
|
|
|
|
### 对应SQL的操作库表
|
|
|
|
|
|
```xml
|
|
|
insert into app_version_information (id, version, client_type,
|
|
|
content, url, status,
|
|
|
create_time, update_time)
|
|
|
values (#{id,jdbcType=SMALLINT}, #{version,jdbcType=VARCHAR}, #{clientType,jdbcType=VARCHAR},
|
|
|
#{content,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT},
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER})
|
|
|
```
|
|
|
|
|
|
### 响应码
|
|
|
|
|
|
-------------------------
|
|
|
|响应码code|消息|说明|
|
|
|
|--------|----|----|
|
|
|
|200| 操作成功.| |
|
|
|
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"code": 200,
|
|
|
"message": "创建成功"
|
|
|
},
|
|
|
"md5": "2ec27613a0ad9e7601d1f764a8c97eae",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
# 上传APP包
|
|
|
|
|
|
> 接口名: `/AppVersionRest/setAppVersion`
|
|
|
|
|
|
### 方法
|
|
|
|
|
|
> POST JSONRAW
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|长度限制|
|
|
|
|-------|----|----|----|-------|--------|
|
|
|
|appVersion|String|4.4.0|app版本|是|1~11
|
|
|
|clientType|String|iphone,android,ipad|安装包类型|是|1~11
|
|
|
|url|String||上传的url地址|是|1~500
|
|
|
|content|String||备注|是|1~500
|
|
|
|status|String||状态('0 关闭 1 开启',)|否|1~10
|
|
|
--------------------------------
|
|
|
|
|
|
### 对应SQL的操作库表
|
|
|
|
|
|
```xml
|
|
|
insert into app_version_information (id, version, client_type,
|
|
|
content, url, status,
|
|
|
create_time, update_time)
|
|
|
values (#{id,jdbcType=SMALLINT}, #{version,jdbcType=VARCHAR}, #{clientType,jdbcType=VARCHAR},
|
|
|
#{content,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT},
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER})
|
|
|
```
|
|
|
|
|
|
### 响应码
|
|
|
|
|
|
-------------------------
|
|
|
|响应码code|消息|说明|
|
|
|
|--------|----|----|
|
|
|
|200| 操作成功.| |
|
|
|
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"code": 200,
|
|
|
"message": "创建成功"
|
|
|
},
|
|
|
"md5": "2ec27613a0ad9e7601d1f764a8c97eae",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|