改进 不需要实名也可以获得佣金
This commit is contained in:
parent
2c04c3144b
commit
793a278e13
@ -55,9 +55,9 @@ public function addRevenue(string $revenue): void
|
||||
{
|
||||
$this->load('user');
|
||||
|
||||
if (! $this->user->isRealNamed()) {
|
||||
return;
|
||||
}
|
||||
// if (! $this->user->isRealNamed()) {
|
||||
// return;
|
||||
// }
|
||||
|
||||
$this->load('affiliate.user');
|
||||
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
<h3>加入推介计划</h3>
|
||||
<p>
|
||||
让更多人用上我们的产品,您将从他们实人认证成功之后的每笔充值中获取 {{ config('settings.billing.commission_referral') * 100 . '%' }}
|
||||
让更多人用上我们的产品,您将从他们每笔充值中获取 {{ config('settings.billing.commission_referral') * 100 . '%' }}
|
||||
的佣金。</p>
|
||||
|
||||
{{-- @php($amount = 1)--}}
|
||||
{{-- @php($amount = 1)--}}
|
||||
|
||||
{{-- <p>比如,下属用户在实人认证成功后充值了 {{$amount}}--}}
|
||||
{{-- 元,您将获得 {{ $amount / (config('settings.billing.commission_referral') * 100) }} 元的佣金。</p>--}}
|
||||
{{-- <p>比如,下属用户在实人认证成功后充值了 {{$amount}}--}}
|
||||
{{-- 元,您将获得 {{ $amount / (config('settings.billing.commission_referral') * 100) }} 元的佣金。</p>--}}
|
||||
|
||||
@if ($user->affiliate_id)
|
||||
<span>您被 {{ $user->affiliateUser->affiliate->user->name }}#{{ $user->affiliateUser->affiliate->user_id }} 引荐。</span>
|
||||
|
@ -22,25 +22,27 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">ID</th>
|
||||
<th scope="col">用户名</th>
|
||||
<th scope="col">盈利</th>
|
||||
<th scope="col">实人状态</th>
|
||||
{{-- <th scope="col">实人状态</th>--}}
|
||||
<th scope="col">注册时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($affiliateUsers as $user)
|
||||
<tr>
|
||||
<td>{{ $user->id }}</td>
|
||||
<td>{{ $user->user->name }}</td>
|
||||
<td>{{ $user->revenue }} 元</td>
|
||||
|
||||
<td>
|
||||
@if ($user->real_name_verified_at)
|
||||
完成
|
||||
@else
|
||||
<span class="text-danger">未完成</span>
|
||||
@endif
|
||||
</td>
|
||||
{{-- <td>--}}
|
||||
{{-- @if ($user->real_name_verified_at)--}}
|
||||
{{-- 完成--}}
|
||||
{{-- @else--}}
|
||||
{{-- <span class="text-danger">未完成</span>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </td>--}}
|
||||
|
||||
<td>{{ $user->created_at }}</td>
|
||||
</tr>
|
||||
@ -55,7 +57,7 @@
|
||||
|
||||
<h4>金额到账时间</h4>
|
||||
<p>
|
||||
当您的下属用户完成实人认证后并充值,之后的充值所获得的佣金将会立即到您的余额。
|
||||
下属用户充值所获得的佣金将会立即到您的余额。
|
||||
</p>
|
||||
|
||||
<h4>佣金计算方式</h4>
|
||||
|
Loading…
Reference in New Issue
Block a user