Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #128 #137 #134 #136 add follow limiter #189

Merged
merged 8 commits into from
Aug 27, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/constant/strings/err.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ const (
FavorivateServiceError = "点赞服务内部出错"
UserServiceInnerErrorCode = 50021
UserServiceInnerError = "登录服务出现内部错误,请稍后重试!"
AlreadyFollowingErrorCode = 50022
AlreadyFollowingError = "无法关注已关注的人"
UnableToGetFriendListErrorCode = 50023
UnableToGetFriendListError = "无法查询到好友列表"
)

// Expected Error
Expand All @@ -74,4 +78,6 @@ const (
FavorivateServiceDuplicateError = "不能重复点赞"
FavorivateServiceCancelCode = 10009
FavorivateServiceCancelError = "没有点赞,不能取消点赞"
FollowLimitedCode = 10010
FollowLimited = "关注频繁,请稍后再试!"
)
Loading