-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: sync/group #6
Conversation
proto/sync/v1/group.proto
Outdated
string name = 2; | ||
string description = 3; | ||
string avatar = 4; | ||
google.protobuf.Timestamp created_at = 14; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这几个字段要不和id放一起吧 基础信息
proto/sync/v1/group.proto
Outdated
google.protobuf.Timestamp updated_at = 15; | ||
google.protobuf.Timestamp deleted_at = 16; | ||
string uid = 17; // 创建者 | ||
bool is_personal = 18; // 是否是个人组 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个字段是不是考虑一下有没有必要?就是说是否要区分group的类型?不区分的情况下能不能实现需求
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以是可以实现需求,is_personal的目的是不让用户把私人空间分享出去
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉主要是涉及到定价策略。是不是直接根据用户的订阅等级禁用group分享一类的接口?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!Merge when ready
UpdateGroup & SyncGroup
UpdateGroup用于修改group信息
SyncGroup用于获取group信息