更新
This commit is contained in:
parent
17c5633f73
commit
b0225a3e4d
@ -140,7 +140,7 @@ class MerchantIntentionRepository extends BaseRepository
|
||||
// 用户需缴纳押金
|
||||
'margin' => $margin['margin'] ?? 0,
|
||||
'uid' => $intention['uid'],
|
||||
'reg_admin_id' => $autoCreate ? 0: request()->adminId(),
|
||||
'reg_admin_id' => 0,
|
||||
'mer_intention_id' => $id,
|
||||
'is_company'=>$intention['is_company'],
|
||||
];
|
||||
|
@ -135,7 +135,7 @@ class MerchantIntention extends BaseController
|
||||
if ($adminRepository->fieldExists('account', $data['phone']))
|
||||
throw new ValidateException('手机号已是管理员,不可申请');
|
||||
$mer_type_id=Db::name('merchant_type')->where('type_code','PersonalStore')->value('mer_type_id');
|
||||
$data['status']=1;
|
||||
$data['status']=0;
|
||||
$data['mer_type_id']=$mer_type_id;
|
||||
$intention = $this->repository->create($data);
|
||||
if($intention){
|
||||
|
Loading…
x
Reference in New Issue
Block a user