Эх сурвалжийг харах

fixbug:修复转到访其他人员未变更问题

yb 7 сар өмнө
parent
commit
e7ff4e2a35

+ 2 - 2
app/wechat/service/CustomService.php

@@ -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();