-
Notifications
You must be signed in to change notification settings - Fork 15
/
suggestions.go
43 lines (35 loc) · 1.55 KB
/
suggestions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* Author: vuiletgo([email protected])
* Date: 13-12-15
* Version: 0.02
*/
package weigo
//获取系统推荐用户
func (api *APIClient) GET_suggestions_users_hot(params map[string]interface{}, result *[]User) error {
return api.GET("suggestions/users/hot", params, result)
}
//获取用户可能感兴趣的人
func (api *APIClient) GET_suggestions_users_may_interested(params map[string]interface{}, result interface{}) error {
return api.GET("suggestions/users/may_interested", params, result)
}
//获取系统推荐用户
func (api *APIClient) GET_suggestions_users_by_status(params map[string]interface{}, result *SuggestionsUser) error {
return api.GET("suggestions/users/by_status", params, result)
}
//主Feed微博按兴趣推荐排序
func (api *APIClient) GET_suggestions_statuses_reorder(params map[string]interface{}, result *Topic) error {
return api.GET("suggestions/statuses/reorder", params, result)
}
//主Feed微博按兴趣推荐排序的微博ID
func (api *APIClient) GET_suggestions_statuses_reorder_ids(params map[string]interface{}, result interface{}) error {
return api.GET("suggestions/statuses/reorder/ids", params, result)
}
//热门收藏
func (api *APIClient) GET_suggestions_favorites_hot(params map[string]interface{}, result *[]Status) error {
return api.GET("suggestions/favorites/hot", params, result)
}
//写入接口
//不感兴趣的人
func (api *APIClient) POST_suggestions_users_not_interested(params map[string]interface{}, result *User) error {
return api.POST("suggestions/users/not_interested", params, result)
}