Showing
1 changed file
with
40 additions
and
0 deletions
微信小程序/微信小程序接口.md
0 → 100644
1 | +> env.url: `https`://api[api-online.test].boxfish.cn | ||
2 | +> | ||
3 | +> notes: | ||
4 | +> | ||
5 | + * `默认所有接口都要携带token` access_token | ||
6 | + | ||
7 | +# 微信小程序接口 | ||
8 | +## 用户学习报告 | ||
9 | + * URL {env.url}/wx/user/lesson/report | ||
10 | + * Method `GET` | ||
11 | + * path 参数: | ||
12 | + * request 参数: | ||
13 | + * response: | ||
14 | + http code 200 | ||
15 | + | ||
16 | + |参数名 | 类型 | 必填 | 说明 | 示例 | | ||
17 | + |-------------|--------|------|----------|------| | ||
18 | + | user_id | Long | Y |用户id| | | ||
19 | + | user_avatars | String | N |用户头像| | | ||
20 | + | user_real_name | Long | Y |用户真实姓名| | | ||
21 | + | words_count | String | Y |单词数量| | | ||
22 | + | phrases_count | Long | Y |短语数量| | | ||
23 | + | knowledge_count | String | Y |知识点数量| | | ||
24 | + | report | report | Y |报告内容| | | ||
25 | + | ||
26 | + report | ||
27 | + | ||
28 | + |参数名 | 类型 | 必填 | 说明 | 示例 | | ||
29 | + |-------------|--------|------|----------|------| | ||
30 | + | words | info | Y |单词数据| | | ||
31 | + | phrases | info | Y |短语数据| | | ||
32 | + | knowledge | info | Y |知识点数据| | | ||
33 | + | ||
34 | + info | ||
35 | + | ||
36 | + |参数名 | 类型 | 必填 | 说明 | 示例 | | ||
37 | + |-------------|--------|------|----------|------| | ||
38 | + | total | Long | Y |总数| | | ||
39 | + | count | String | N |学习数量| | | ||
40 | + | list | List | Y |统计数据| | |
-
Please register or login to post a comment