Merge branch 'refs/heads/feature-im-gitea'

This commit is contained in:
junleea 2024-08-09 20:59:15 +08:00
commit 5cd0a0a208
2 changed files with 1 additions and 2 deletions

View File

@ -108,7 +108,6 @@ func GetFriendRequest(c *gin.Context) {
user_id := int(id.(float64))
data := service.GetFriendRequest(user_id)
c.JSON(http.StatusOK, gin.H{"code": proto.SuccessCode, "data": data, "message": "success"})
}
func CreateGroup(c *gin.Context) {

View File

@ -124,7 +124,7 @@ func GetFriendList(user_id int) FGRet {
return fg
}
func GetFriendRequest(user_id int) []dao.User {
func GetFriendRequest(user_id int) []dao.FriendRequest {
//获取好友请求
users := dao.GetFriendRequest(user_id)
return users