git 1 year ago
parent
commit
b69900c3be
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Home/Lib/Action/WxApiAction.class.php

+ 2 - 2
Home/Lib/Action/WxApiAction.class.php

@@ -312,7 +312,7 @@ class WxApiAction extends Action {
 		
 		//$devices=M('devices')->where(['bind_id' =>array('in',$vehiclesIds) ])->select();
 		
-		$list=M('vehicles')->where(array('user_id'=>$userid))->select();
+		$list=M('vehicles')->where(array('user_id'=>$userid,'deleted_at'=>0))->select();
 		
 		$type_id=M('sys_dict_type')->where(['code'=>'DeviceType'])->getField('id');
 		
@@ -3114,7 +3114,7 @@ class WxApiAction extends Action {
 	
  
 	public  function test_cus_function(  ){
-		phpinfo();exit;
+		
 		$accessKeyId='LTAIOSQ4y09Jxbf3';
 		$accessKeySecret='LQm05sOLBss87lFG6jx9iq4lzKCAqA';
 		 $config = new \Darabonba\OpenApi\Models\Config([