Commit 1035f424 authored by zw's avatar zw

bug

parent 6eb391b6
...@@ -128,6 +128,7 @@ class Regions extends Model ...@@ -128,6 +128,7 @@ class Regions extends Model
*/ */
public function getRegionsByCity($city) { public function getRegionsByCity($city) {
$data = []; $data = [];
$param["type"] = 2;
$param["fullName"] = array( "like", "%" . trim($city) . "%" ); $param["fullName"] = array( "like", "%" . trim($city) . "%" );
$city_data = $this $city_data = $this
->field('code,fullName') ->field('code,fullName')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment