Commit 161e2500 authored by hujun's avatar hujun

区fullName

parent 3f2880b5
...@@ -25,7 +25,7 @@ class Regions extends Model ...@@ -25,7 +25,7 @@ class Regions extends Model
$type = $type ? $type:1; $type = $type ? $type:1;
$where = 'type = '.$type; $where = 'type = '.$type;
} }
$fields = 'code,parentCode,name'; $fields = 'code,parentCode,name,fullName';
if ($code) { if ($code) {
$data = $this->field($fields)->where($where)->find(); $data = $this->field($fields)->where($where)->find();
......
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