bug fixed
This commit is contained in:
parent
161e6112cd
commit
a5de0dc389
|
@ -9,6 +9,7 @@ import "models/member_class.proto";
|
||||||
message CreateMemberClassRequest {
|
message CreateMemberClassRequest {
|
||||||
optional string parent_id = 1;
|
optional string parent_id = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
|
bool show = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CreateMemberClassResponse {
|
message CreateMemberClassResponse {
|
||||||
|
@ -21,7 +22,8 @@ message CreateMemberClassResponse {
|
||||||
|
|
||||||
message ListMemberClassesRequest {
|
message ListMemberClassesRequest {
|
||||||
message Search {
|
message Search {
|
||||||
optional string name_like = 4;
|
optional string name_like = 1;
|
||||||
|
optional bool show = 2;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.pagination.Pagination pagination = 1;
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||||
repeated bet.protobuf.pagination.Sort sorts = 2;
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||||
|
@ -52,6 +54,7 @@ message UpdateMemberClassRequest {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
optional string parent_id = 2;
|
optional string parent_id = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
bool show = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UpdateMemberClassResponse {
|
message UpdateMemberClassResponse {
|
||||||
|
|
|
@ -8,7 +8,8 @@ import "models/member_level.proto";
|
||||||
|
|
||||||
message CreateMemberLevelRequest {
|
message CreateMemberLevelRequest {
|
||||||
string name = 1;
|
string name = 1;
|
||||||
uint32 sort_order = 2;
|
bool show = 2;
|
||||||
|
uint32 sort_order = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CreateMemberLevelResponse {
|
message CreateMemberLevelResponse {
|
||||||
|
@ -22,6 +23,7 @@ message CreateMemberLevelResponse {
|
||||||
message ListMemberLevelsRequest {
|
message ListMemberLevelsRequest {
|
||||||
message Search {
|
message Search {
|
||||||
optional string name_like = 1;
|
optional string name_like = 1;
|
||||||
|
optional bool show = 2;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.pagination.Pagination pagination = 1;
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||||
repeated bet.protobuf.pagination.Sort sorts = 2;
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||||
|
@ -51,7 +53,8 @@ message GetMemberLevelResponse {
|
||||||
message UpdateMemberLevelRequest {
|
message UpdateMemberLevelRequest {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
uint32 sort_order = 3;
|
bool show = 3;
|
||||||
|
uint32 sort_order = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UpdateMemberLevelResponse {
|
message UpdateMemberLevelResponse {
|
||||||
|
|
|
@ -6,6 +6,7 @@ message MemberClass {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
optional string parent_id = 2;
|
optional string parent_id = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
uint64 created_at = 4;
|
bool show = 4;
|
||||||
uint64 updated_at = 5;
|
uint64 created_at = 5;
|
||||||
|
uint64 updated_at = 6;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,8 @@ package bet.beteran.member_level;
|
||||||
message MemberLevel {
|
message MemberLevel {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
uint32 sort_order = 3;
|
bool show = 3;
|
||||||
uint64 created_at = 4;
|
uint32 sort_order = 4;
|
||||||
uint64 updated_at = 5;
|
uint64 created_at = 5;
|
||||||
|
uint64 updated_at = 6;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ message CreateMemberClassRequest {
|
||||||
message Request {
|
message Request {
|
||||||
optional string parent_id = 1;
|
optional string parent_id = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
|
bool show = 3;
|
||||||
}
|
}
|
||||||
bet.beteran.core.network.Client client = 1;
|
bet.beteran.core.network.Client client = 1;
|
||||||
Request request = 2;
|
Request request = 2;
|
||||||
|
@ -30,6 +31,7 @@ message ListMemberClassesRequest {
|
||||||
message Request {
|
message Request {
|
||||||
message Search {
|
message Search {
|
||||||
optional string name_like = 1;
|
optional string name_like = 1;
|
||||||
|
optional bool show = 2;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.pagination.Pagination pagination = 1;
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||||
repeated bet.protobuf.pagination.Sort sorts = 2;
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||||
|
@ -72,6 +74,7 @@ message UpdateMemberClassRequest {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
optional string parent_id = 2;
|
optional string parent_id = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
bool show = 4;
|
||||||
}
|
}
|
||||||
bet.beteran.core.network.Client client = 1;
|
bet.beteran.core.network.Client client = 1;
|
||||||
Request request = 2;
|
Request request = 2;
|
||||||
|
|
|
@ -11,7 +11,8 @@ import "models/member_level.proto";
|
||||||
message CreateMemberLevelRequest {
|
message CreateMemberLevelRequest {
|
||||||
message Request {
|
message Request {
|
||||||
string name = 1;
|
string name = 1;
|
||||||
uint32 sort_order = 2;
|
bool show = 2;
|
||||||
|
uint32 sort_order = 3;
|
||||||
}
|
}
|
||||||
bet.beteran.core.network.Client client = 1;
|
bet.beteran.core.network.Client client = 1;
|
||||||
Request request = 2;
|
Request request = 2;
|
||||||
|
@ -30,6 +31,7 @@ message ListMemberLevelsRequest {
|
||||||
message Request {
|
message Request {
|
||||||
message Search {
|
message Search {
|
||||||
optional string name_like = 1;
|
optional string name_like = 1;
|
||||||
|
optional bool show = 2;
|
||||||
}
|
}
|
||||||
optional bet.protobuf.pagination.Pagination pagination = 1;
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||||
repeated bet.protobuf.pagination.Sort sorts = 2;
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||||
|
@ -69,7 +71,8 @@ message UpdateMemberLevelRequest {
|
||||||
message Request {
|
message Request {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
uint32 sort_order = 3;
|
bool show = 3;
|
||||||
|
uint32 sort_order = 4;
|
||||||
}
|
}
|
||||||
bet.beteran.core.network.Client client = 1;
|
bet.beteran.core.network.Client client = 1;
|
||||||
Request request = 2;
|
Request request = 2;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user