0406
This commit is contained in:
@@ -1154,7 +1154,7 @@ class Common extends CI_Controller
|
||||
$tp == 0 && $lists[] = array('id' => 0, 'name' => $name ? $name : '选择车型');
|
||||
$res = $this->mdAutoCar->select(array_merge($where, ['series_id' => $pid]), 'id asc', 0, 0, 'id,name');
|
||||
}
|
||||
foreach ($res as $key => $value) {
|
||||
foreach ($res as $value) {
|
||||
$lists[] = array('id' => $value['id'], 'name' => $value['name']);
|
||||
}
|
||||
$this->data = $lists;
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
},
|
||||
init_cfrom2: function () {
|
||||
var vm = this;
|
||||
$.get('autohome/customer/json_map_cfrom', {pid: vm.cfrom_id}, function (response) {
|
||||
$.post('autohome/customer/json_map_cfrom', {pid: vm.cfrom_id}, function (response) {
|
||||
if (response.code == 1) {
|
||||
vm.cfromAry2 = response.data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user