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

update fields. #140

Merged
merged 10 commits into from
Sep 27, 2024
4 changes: 2 additions & 2 deletions constant/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ const (
Online = 1
Offline = 0

Registered = 1
UnRegistered = 0
Registered = true
UnRegistered = false

// MsgReceiveOpt.
ReceiveMessage = 0
Expand Down
8 changes: 4 additions & 4 deletions user/user.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion user/user.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ message accountCheckReq {
message accountCheckResp {
message singleUserStatus {
string userID = 1;
bool accountStatus = 2;
int32 accountStatus = 2;
}
repeated singleUserStatus results = 1;
}
Expand Down