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

feat: sync/group #6

Merged
merged 10 commits into from
Sep 26, 2023
Merged

feat: sync/group #6

merged 10 commits into from
Sep 26, 2023

Conversation

GoldenSheep402
Copy link
Contributor

UpdateGroup & SyncGroup
UpdateGroup用于修改group信息
SyncGroup用于获取group信息

string name = 2;
string description = 3;
string avatar = 4;
google.protobuf.Timestamp created_at = 14;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这几个字段要不和id放一起吧 基础信息

google.protobuf.Timestamp updated_at = 15;
google.protobuf.Timestamp deleted_at = 16;
string uid = 17; // 创建者
bool is_personal = 18; // 是否是个人组
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个字段是不是考虑一下有没有必要?就是说是否要区分group的类型?不区分的情况下能不能实现需求

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以是可以实现需求,is_personal的目的是不让用户把私人空间分享出去

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉主要是涉及到定价策略。是不是直接根据用户的订阅等级禁用group分享一类的接口?

proto/sync/v1/sync_service.proto Outdated Show resolved Hide resolved
proto/sync/v1/sync_service.proto Outdated Show resolved Hide resolved
Copy link
Member

@asjdf asjdf left a 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

@GoldenSheep402 GoldenSheep402 merged commit 9931e21 into main Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants