二测质押用户奖励
This commit is contained in:
@@ -45,10 +45,11 @@ func (l *DownloadAndBindRoleLogic) DownloadAndBindRole(req *types.EmailKey) *typ
|
||||
}}
|
||||
}
|
||||
|
||||
if pb.IsCreateRole == 0 {
|
||||
return &types.CarvResult{Result: &types.Result{
|
||||
IsValid: false,
|
||||
}}
|
||||
shareId := l.svcCtx.ConfigModel.GetCarvIoInviterId(l.ctx)
|
||||
if pb.ShareUid != shareId || pb.IsCreateRole == 0 {
|
||||
return &types.CarvResult{
|
||||
Result: &types.Result{IsValid: false},
|
||||
}
|
||||
}
|
||||
|
||||
return &types.CarvResult{
|
||||
|
||||
Reference in New Issue
Block a user