Showing
1 changed file
with
30 additions
and
1 deletions
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | 2 | ||
3 | 接口地址: /friends_recommend/auto?access_token=ASLDFKJIWE | 3 | 接口地址: /friends_recommend/auto?access_token=ASLDFKJIWE |
4 | 4 | ||
5 | -请求方式:GET | 5 | +请求方式:POST |
6 | 6 | ||
7 | 参数:user_id (用户id) | 7 | 参数:user_id (用户id) |
8 | 8 | ||
@@ -29,6 +29,35 @@ status:200 | @@ -29,6 +29,35 @@ status:200 | ||
29 | ``` | 29 | ``` |
30 | 30 | ||
31 | ---------------------------------- | 31 | ---------------------------------- |
32 | +####老师将学生移动到班级时给该学生建立班级好友关系 | ||
33 | +接口地址: /friends_recommend/move_to_class | ||
34 | + | ||
35 | +|参数 |是否必须 |说明 | | ||
36 | +|----------------|-----------|----------| | ||
37 | +|user_id |是 |学生id | | ||
38 | +|group_id |是 |班级id | | ||
39 | + | ||
40 | +**返回值:** | ||
41 | + | ||
42 | +1.建立成功: | ||
43 | + | ||
44 | +status:200 | ||
45 | +```json | ||
46 | +{ | ||
47 | + "message": "success" | ||
48 | +} | ||
49 | +``` | ||
50 | + | ||
51 | +2.建立失败: | ||
52 | + | ||
53 | +status:400 | ||
54 | + | ||
55 | +```json | ||
56 | +{ | ||
57 | + "message": "failed" | ||
58 | +} | ||
59 | +``` | ||
60 | +---------------------------------- | ||
32 | 61 | ||
33 | ####搜索好友接口 | 62 | ####搜索好友接口 |
34 | 63 |
-
Please register or login to post a comment