Showing
1 changed file
with
8 additions
and
8 deletions
@@ -9,11 +9,11 @@ | @@ -9,11 +9,11 @@ | ||
9 | ### 入参 | 9 | ### 入参 |
10 | 10 | ||
11 | ------------------------- | 11 | ------------------------- |
12 | -|属性名称|类型|例子|说明|是否必填| | ||
13 | -|--------|----|----|----|--------| | ||
14 | -|file|file|-|颜色名称|是| | ||
15 | -|userId|int|543883|用户id|是| | ||
16 | -|bucket|string|smart|bucket|是| | 12 | +|属性名称|类型|例子|说明 |
13 | +|--------|----|----|----| | ||
14 | +|file|file|-|图片文件 | ||
15 | +|userId|int|543883|用户id,可选(默认为yoho)| | ||
16 | +|bucket|string|yhb-img02|bucket空间,可选(默认为yhb-img01)但值只能是yhb-img01或yhb-img02| | ||
17 | 17 | ||
18 | --------------------- | 18 | --------------------- |
19 | 19 | ||
@@ -21,9 +21,9 @@ | @@ -21,9 +21,9 @@ | ||
21 | 21 | ||
22 | ``` json | 22 | ``` json |
23 | { | 23 | { |
24 | - "code":200, | ||
25 | - "data" : "url", --图片URL | ||
26 | - "message":"success" | 24 | + "code": 200, |
25 | + "data": "http://img11.static.yhbimg.com/1123/2016/02/16/19/016ba3bec54c7a776795991fab123c0b68.jpg", | ||
26 | + "message": "上传成功" | ||
27 | } | 27 | } |
28 | 28 | ||
29 | ``` | 29 | ``` |
-
Please register or login to post a comment