Showing
1 changed file
with
21 additions
and
0 deletions
订单/shopping.md
0 → 100644
1 | +## 1、获取用户可用的优惠券张数 ## | ||
2 | +#### 说明 | ||
3 | +获取用户可用的优惠券张数(app.Shopping.countUsableCoupon) | ||
4 | +#### 请求参数 | ||
5 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
6 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
7 | +|uid|int|否|3236556|0|用户id| | ||
8 | + | ||
9 | +### 响应 | ||
10 | +code为200即为成功,否则是失败。 | ||
11 | +响应JSON格式如下所示: | ||
12 | + | ||
13 | +```json | ||
14 | +{ | ||
15 | + "alg":"SALT_MD5", | ||
16 | + "code":200, | ||
17 | + "data":{"count":5}, | ||
18 | + "md5":"c1d725306fb09dcbf504776d276521cb", | ||
19 | + "message":"ok" | ||
20 | +} | ||
21 | +``` |
-
Please register or login to post a comment