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