修复创建错误
This commit is contained in:
parent
254da8cbdb
commit
78ae4718c1
@ -254,10 +254,10 @@ class Merchant extends BaseController
|
||||
'account'=>'yy'.$admins['account'],
|
||||
'real_name' => $admins['real_name'],
|
||||
'phone' => $admins['phone'],
|
||||
'roles' => 26,
|
||||
'roles' => '26',
|
||||
'level' => 2
|
||||
];
|
||||
$adminRepository->create($data);
|
||||
Db::name('merchant_admin')->insert($data);
|
||||
$adminInfo = $adminRepository->merIdByAdmin($id,['account'=>'yy'.$admins['account']],2);
|
||||
}
|
||||
}else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user