Explorar el Código

Wesmiler 人人车 初始化项目 0816

APPLE hace 3 años
padre
commit
641a47dfc4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/admin/controller/taxi/User.php

+ 1 - 1
application/admin/controller/taxi/User.php

@@ -143,7 +143,7 @@ class User extends AdminController
         $result = false;
         $this->model->startTrans();
         try {
-            if(!$row->user){
+            if(!$row->user->id){
                 IResponse::failure('该司机未绑定用户');
             }