|
@@ -616,7 +616,7 @@ class CustomService
|
|
|
$info->check_admin_id = $adminId;
|
|
|
$info->check_consultant_id = $userId;
|
|
|
$result = $info->save();
|
|
|
-// if ($checkStatus == 2) {
|
|
|
+ if ($checkStatus == 2) {
|
|
|
//将其他待审的相同手机号的改拒绝
|
|
|
$where = [
|
|
|
['mobile' , '=', $mobile],
|
|
@@ -624,7 +624,7 @@ class CustomService
|
|
|
['id', '<>', $customId]
|
|
|
];
|
|
|
MarketCustomer::where($where)->update(['check_time' => time(),'check_status' => -1,'check_note' => self::CHECK_NOTE]);
|
|
|
-// }
|
|
|
+ }
|
|
|
Db::commit();
|
|
|
}catch (BusinessException|\Exception $e){
|
|
|
Db::rollBack();
|