Showing
1 changed file
with
57 additions
and
0 deletions
@@ -58,3 +58,60 @@ | @@ -58,3 +58,60 @@ | ||
58 | |code |资源码 | | 58 | |code |资源码 | |
59 | |matchCode |配对码 | | 59 | |matchCode |配对码 | |
60 | |createTime |创建时间 | | 60 | |createTime |创建时间 | |
61 | + | ||
62 | +### 查询所有的平台 | ||
63 | + | ||
64 | +> GET `/resources/platforms` | ||
65 | + | ||
66 | +#### 返回 | ||
67 | + | ||
68 | +``` json | ||
69 | +{ | ||
70 | + "code":200 | ||
71 | + "data":{ | ||
72 | + "platformId":1, | ||
73 | + "platformName":"yohoApp", | ||
74 | + "platformFlag":"iphone", | ||
75 | + "createTime":1430300615, | ||
76 | + "status":1 | ||
77 | + } | ||
78 | +} | ||
79 | + | ||
80 | +``` | ||
81 | +----------------------------- | ||
82 | +|参数名 |描述 | | ||
83 | +|------ |---- | | ||
84 | +|platformId |平台编号 | | ||
85 | +|platformName|平台名称 | | ||
86 | +|platformFlag|平台标识 | | ||
87 | +|createTime |创建时间 | | ||
88 | +|status |状态码 | | ||
89 | + | ||
90 | + | ||
91 | +### 查询所有的资源分类 | ||
92 | + | ||
93 | +> GET `/resources/sorts` | ||
94 | + | ||
95 | +#### 返回 | ||
96 | + | ||
97 | +``` json | ||
98 | +{ | ||
99 | + "code":200 | ||
100 | + "data":{ | ||
101 | + "sortId":2, | ||
102 | + "sortName":"男首", | ||
103 | + "platformId":1, | ||
104 | + "createTime":1430304722, | ||
105 | + "status":1 | ||
106 | + } | ||
107 | +} | ||
108 | + | ||
109 | +``` | ||
110 | +----------------------------- | ||
111 | +|参数名 |描述 | | ||
112 | +|------ |---- | | ||
113 | +|sortId |分类编号 | | ||
114 | +|sortName |分类名称 | | ||
115 | +|platformId |平台编号 | | ||
116 | +|createTime |创建时间 | | ||
117 | +|status |状态码 | |
-
Please register or login to post a comment