This commit is contained in:
xiaoyu
2025-04-06 10:26:56 +08:00
parent fa2822b4ab
commit 2f91944191
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
}