Compare commits
No commits in common. "5cd0a0a20810dbe0ea007cda82098ca929990195" and "1a9a8ecefc45ddd2f9c61b662cc508ff8d456934" have entirely different histories.
5cd0a0a208
...
1a9a8ecefc
|
|
@ -108,6 +108,7 @@ func GetFriendRequest(c *gin.Context) {
|
||||||
user_id := int(id.(float64))
|
user_id := int(id.(float64))
|
||||||
data := service.GetFriendRequest(user_id)
|
data := service.GetFriendRequest(user_id)
|
||||||
c.JSON(http.StatusOK, gin.H{"code": proto.SuccessCode, "data": data, "message": "success"})
|
c.JSON(http.StatusOK, gin.H{"code": proto.SuccessCode, "data": data, "message": "success"})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func CreateGroup(c *gin.Context) {
|
func CreateGroup(c *gin.Context) {
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ func GetFriendList(user_id int) FGRet {
|
||||||
return fg
|
return fg
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetFriendRequest(user_id int) []dao.FriendRequest {
|
func GetFriendRequest(user_id int) []dao.User {
|
||||||
//获取好友请求
|
//获取好友请求
|
||||||
users := dao.GetFriendRequest(user_id)
|
users := dao.GetFriendRequest(user_id)
|
||||||
return users
|
return users
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue