Showing
1 changed file
with
52 additions
and
52 deletions
1 | -# 上传APP包 | ||
2 | - | ||
3 | -> 接口名: `/AppVersionRest/setAppVersion` | ||
4 | - | ||
5 | -### 方法 | ||
6 | - | ||
7 | -> POST JSONRAW | ||
8 | - | ||
9 | -### 入参 | ||
10 | - | ||
11 | -------------------------- | ||
12 | -|属性名称|类型|例子|说明|是否必填|长度限制| | ||
13 | -|-------|----|----|----|-------|--------| | ||
14 | -|appVersion|String|4.4.0|app版本|是|1~11 | ||
15 | -|clientType|String|iphone,android,ipad|安装包类型|是|1~11 | ||
16 | -|url|String||上传的url地址|是|1~500 | ||
17 | -|content|String||备注|是|1~500 | ||
18 | -|status|String||状态('0 关闭 1 开启',)|否|1~10 | ||
19 | --------------------------------- | ||
20 | - | ||
21 | -### 对应SQL的操作库表 | ||
22 | - | ||
23 | -```xml | ||
24 | -insert into app_version_information (id, version, client_type, | ||
25 | - content, url, status, | ||
26 | - create_time, update_time) | ||
27 | - values (#{id,jdbcType=SMALLINT}, #{version,jdbcType=VARCHAR}, #{clientType,jdbcType=VARCHAR}, | ||
28 | - #{content,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, | ||
29 | - #{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}) | ||
30 | -``` | ||
31 | - | ||
32 | -### 响应码 | ||
33 | - | ||
34 | -------------------------- | ||
35 | -|响应码code|消息|说明| | ||
36 | -|--------|----|----| | ||
37 | -|200| 操作成功.| | | ||
38 | - | ||
39 | - | ||
40 | -### 返回 | ||
41 | - | ||
42 | -``` json | ||
43 | -{ | ||
44 | - "alg": "SALT_MD5", | ||
45 | - "code": 200, | ||
46 | - "data": { | ||
47 | - "code": 200, | ||
48 | - "message": "创建成功" | ||
49 | - }, | ||
50 | - "md5": "2ec27613a0ad9e7601d1f764a8c97eae", | ||
51 | - "message": "操作成功" | ||
52 | -} | 1 | +# 上传APP包 |
2 | + | ||
3 | +> 接口名: `/AppVersionRest/setAppVersion` | ||
4 | + | ||
5 | +### 方法 | ||
6 | + | ||
7 | +> POST JSONRAW | ||
8 | + | ||
9 | +### 入参 | ||
10 | + | ||
11 | +------------------------- | ||
12 | +|属性名称|类型|例子|说明|是否必填|长度限制| | ||
13 | +|-------|----|----|----|-------|--------| | ||
14 | +|appVersion|String|4.4.0|app版本|是|1~11 | ||
15 | +|clientType|String|iphone,android,ipad|安装包类型|是|1~11 | ||
16 | +|url|String||上传的url地址|是|1~500 | ||
17 | +|content|String||备注|是|1~500 | ||
18 | +|status|String||状态('0 关闭 1 开启',)|否|1~10 | ||
19 | +-------------------------------- | ||
20 | + | ||
21 | +### 对应SQL的操作库表 | ||
22 | + | ||
23 | +```xml | ||
24 | +insert into app_version_information (id, version, client_type, | ||
25 | + content, url, status, | ||
26 | + create_time, update_time) | ||
27 | + values (#{id,jdbcType=SMALLINT}, #{version,jdbcType=VARCHAR}, #{clientType,jdbcType=VARCHAR}, | ||
28 | + #{content,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, | ||
29 | + #{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}) | ||
30 | +``` | ||
31 | + | ||
32 | +### 响应码 | ||
33 | + | ||
34 | +------------------------- | ||
35 | +|响应码code|消息|说明| | ||
36 | +|--------|----|----| | ||
37 | +|200| 操作成功.| | | ||
38 | + | ||
39 | + | ||
40 | +### 返回 | ||
41 | + | ||
42 | +``` json | ||
43 | +{ | ||
44 | + "alg": "SALT_MD5", | ||
45 | + "code": 200, | ||
46 | + "data": { | ||
47 | + "code": 200, | ||
48 | + "message": "创建成功" | ||
49 | + }, | ||
50 | + "md5": "2ec27613a0ad9e7601d1f764a8c97eae", | ||
51 | + "message": "操作成功" | ||
52 | +} | ||
53 | ``` | 53 | ``` |
-
Please register or login to post a comment