member_referrer is modified
This commit is contained in:
parent
a7a023936f
commit
96bdb1eb96
|
@ -3,7 +3,10 @@ syntax = "proto3";
|
|||
package bet.beteran.c2se.backend.member_referrer;
|
||||
|
||||
// subject = bet.beteran.c2se.backend.member_referrer.CreateMemberReferrer
|
||||
// subject = bet.beteran.c2se.backend.member_referrer.CreateMemberReferrers
|
||||
// subject = bet.beteran.c2se.backend.member_referrer.ListMemberReferrers
|
||||
// subject = bet.beteran.c2se.backend.member_referrer.GetMemberReferrer
|
||||
// subject = bet.beteran.c2se.backend.member_referrer.GetMemberReferrerByCode
|
||||
// subject = bet.beteran.c2se.backend.member_referrer.UpdateMemberReferrer
|
||||
// subject = bet.beteran.c2se.backend.member_referrer.DeleteMemberReferrer
|
||||
// subject = bet.beteran.c2se.backend.member_referrer.DeleteMemberReferrers
|
||||
|
|
5
proto/c2se/frontend/member_referrer.proto
Normal file
5
proto/c2se/frontend/member_referrer.proto
Normal file
|
@ -0,0 +1,5 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package bet.beteran.c2se.frontend.member_referrer;
|
||||
|
||||
// subject = bet.beteran.c2se.frontend.member_referrer.GetMemberReferrerByCode
|
|
@ -18,6 +18,18 @@ message CreateMemberReferrerResponse {
|
|||
optional Result result = 2;
|
||||
}
|
||||
|
||||
message CreateMemberReferrersRequest {
|
||||
repeated string member_ids = 1;
|
||||
}
|
||||
|
||||
message CreateMemberReferrersResponse {
|
||||
message Result {
|
||||
repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 1;
|
||||
}
|
||||
optional bet.protobuf.rpc.Error error = 1;
|
||||
optional Result result = 2;
|
||||
}
|
||||
|
||||
message ListMemberReferrersRequest {
|
||||
message Search {
|
||||
optional string member_id = 1;
|
||||
|
@ -49,6 +61,20 @@ message GetMemberReferrerResponse {
|
|||
optional Result result = 2;
|
||||
}
|
||||
|
||||
|
||||
message GetMemberReferrerByCodeRequest {
|
||||
string code = 1;
|
||||
}
|
||||
|
||||
message GetMemberReferrerByCodeResponse {
|
||||
message Result {
|
||||
bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1;
|
||||
}
|
||||
optional bet.protobuf.rpc.Error error = 1;
|
||||
optional Result result = 2;
|
||||
}
|
||||
|
||||
|
||||
message UpdateMemberReferrerRequest {
|
||||
string id = 1;
|
||||
bool can_use = 2;
|
||||
|
@ -73,3 +99,15 @@ message DeleteMemberReferrerResponse {
|
|||
optional bet.protobuf.rpc.Error error = 1;
|
||||
optional Result result = 2;
|
||||
}
|
||||
|
||||
|
||||
message DeleteMemberReferrersRequest {
|
||||
repeated string ids = 1;
|
||||
}
|
||||
|
||||
message DeleteMemberReferrersResponse {
|
||||
message Result {
|
||||
}
|
||||
optional bet.protobuf.rpc.Error error = 1;
|
||||
optional Result result = 2;
|
||||
}
|
||||
|
|
|
@ -25,6 +25,25 @@ message CreateMemberReferrerResponse {
|
|||
optional Result result = 2;
|
||||
}
|
||||
|
||||
// subject = bet.beteran.ss.member_referrer.CreateMemberReferrers
|
||||
message CreateMemberReferrersRequest {
|
||||
message Request {
|
||||
repeated string member_ids = 1;
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
Request request = 2;
|
||||
|
||||
}
|
||||
|
||||
message CreateMemberReferrersResponse {
|
||||
message Result {
|
||||
repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 1;
|
||||
}
|
||||
optional bet.protobuf.rpc.Error error = 1;
|
||||
optional Result result = 2;
|
||||
}
|
||||
|
||||
|
||||
// subject = bet.beteran.ss.member_referrer.ListMemberReferrers
|
||||
message ListMemberReferrersRequest {
|
||||
message Request {
|
||||
|
@ -66,6 +85,23 @@ message GetMemberReferrerResponse {
|
|||
optional Result result = 2;
|
||||
}
|
||||
|
||||
// subject = bet.beteran.ss.member_referrer.GetMemberReferrerByCode
|
||||
message GetMemberReferrerByCodeRequest {
|
||||
message Request {
|
||||
string code = 1;
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
Request request = 2;
|
||||
}
|
||||
|
||||
message GetMemberReferrerByCodeResponse {
|
||||
message Result {
|
||||
bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1;
|
||||
}
|
||||
optional bet.protobuf.rpc.Error error = 1;
|
||||
optional Result result = 2;
|
||||
}
|
||||
|
||||
// subject = bet.beteran.ss.member_referrer.UpdateMemberReferrer
|
||||
message UpdateMemberReferrerRequest {
|
||||
message Request {
|
||||
|
@ -100,3 +136,20 @@ message DeleteMemberReferrerResponse {
|
|||
optional bet.protobuf.rpc.Error error = 1;
|
||||
optional Result result = 2;
|
||||
}
|
||||
|
||||
|
||||
// subject = bet.beteran.ss.member_referrer.DeleteMemberReferrers
|
||||
message DeleteMemberReferrersRequest {
|
||||
message Request {
|
||||
repeated string ids = 1;
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
Request request = 2;
|
||||
}
|
||||
|
||||
message DeleteMemberReferrersResponse {
|
||||
message Result {
|
||||
}
|
||||
optional bet.protobuf.rpc.Error error = 1;
|
||||
optional Result result = 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user