feat: add InitReferrerCommissionLogIn message and corresponding RPC in WalletService
This commit is contained in:
parent
07b4912193
commit
a74aa136d5
@ -581,6 +581,12 @@ message CommissionRes {
|
||||
uint64 commission_log_id = 1;
|
||||
}
|
||||
|
||||
message InitReferrerCommissionLogIn {
|
||||
uint64 referrer_id = 1;
|
||||
uint64 user_id = 2;
|
||||
double amount = 3;
|
||||
}
|
||||
|
||||
message ReferrerCommissionLogOut {
|
||||
double amount = 1;
|
||||
string mobile = 2;
|
||||
|
||||
@ -26,6 +26,7 @@ service WalletService {
|
||||
|
||||
// Commission Logs
|
||||
rpc GetReferrerCommissionLogsList(auth.v1.InternalIAM) returns (ReferrerCommissionLogsList);
|
||||
rpc InitReferrerCommissionLog(InitReferrerCommissionLogIn) returns (base.v1.StatusRes);
|
||||
|
||||
// Get Token from IPG is and internal api
|
||||
rpc IPGGetToken(IPGGetTokenReq) returns (IPGGetTokenRes);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user