...
|
...
|
@@ -21,9 +21,9 @@ class OrderAddress extends Model |
|
|
$county = $areaModel->where('id',$data['county_id'])->field('name,pinyin')->find();
|
|
|
|
|
|
|
|
|
$data['province_name'] = $province['name'];
|
|
|
$data['city_name'] = $city['name'];
|
|
|
$data['county_name'] = $county['name'];
|
|
|
$data['ch_province_name'] = $province['name'];
|
|
|
$data['ch_city_name'] = $city['name'];
|
|
|
$data['ch_county_name'] = $county['name'];
|
|
|
$res = $this->insertGetId($data);
|
|
|
if ($res) return $res;
|
|
|
else return false;
|
...
|
...
|
|