This commit is contained in:
小鱼开发
2024-07-20 15:18:17 +08:00
parent f407a26edf
commit dc552fe84d
+3 -6
View File
@@ -1,5 +1,5 @@
<?php
defined('WXAPP_APP') OR exit('No direct script access allowed');
//defined('WXAPP_APP') OR exit('No direct script access allowed');
/**
* Created by Vim
@@ -66,11 +66,7 @@ class Series extends Wxapp{
//获取品牌
protected function get_mbrand(){
$keyword = $this->input_param('keyword');
$where = [
'status' => 1,
'1' => null
];
$where = ['status' => 1];
$keyword && $where["name like '%{$keyword}%'"] = null;
$count = $this->auto_brand_model->count($where);
@@ -79,6 +75,7 @@ class Series extends Wxapp{
'list' => $list,
'total' => $count
];
return $data;
}