添加:代理中心 - 代理审核通过后佣金处理及免审核处理
This commit is contained in:
parent
ea3f5e6b07
commit
477d21b481
|
|
@ -129,6 +129,7 @@ class AgentBrokerageRepository extends BaseRepository{
|
||||||
$data['area_brokerage'] = $config['delivery_money_partner'] ?? 0;
|
$data['area_brokerage'] = $config['delivery_money_partner'] ?? 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
AgentBrokerage::insert($data);
|
||||||
// 判断:是否免审核
|
// 判断:是否免审核
|
||||||
if($isToExamine){
|
if($isToExamine){
|
||||||
app()->make(AgentApplyRepository::class)->toExaminePass([
|
app()->make(AgentApplyRepository::class)->toExaminePass([
|
||||||
|
|
@ -136,8 +137,6 @@ class AgentBrokerageRepository extends BaseRepository{
|
||||||
'status' => 1,
|
'status' => 1,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
AgentBrokerage::insert($data);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue