fix gm product type

hotfix/paypal-note
LMR 2 years ago
parent fc26e3bfb9
commit c4a8721ea7

@ -887,6 +887,34 @@ $config['InfoType_product'] = array(
'移动端' => 'pd_phone',
);
//产品类型 - 德语
$config['InfoType_product_gm'] = array(
'不设置' => 'none',
'线路' => 'pd_tour',
'包价线路' => 'pd_package',
'信息页' => 'pd_info',
'移动端' => 'pd_phone',
'------' => 'none',
'首页' => 'root',
'基本数据' => 'n_facts',
'国家艺术' => 'n_arts',
'国家文化' => 'n_culture',
'国家概述' => 'n_overview',
'国家图片' => 'n_photos',
'国家景点' => 'n_attraction',
'国家旅游' => 'n_travel',
'国家交通' => 'n_transport',
'国家天气' => 'n_weather',
'国家节庆' => 'n_festival',
'国家美食' => 'n_food',
'国家历史' => 'n_history',
'国家地图' => 'n_map',
'民族传统和文化遗产' => 'n_national',
'产品附加信息' => 'product',
'旅游工具箱' => 'n_tools',
);
//公民游
$config['InfoType_citizen'] = array(
'不设置' => 'none',
@ -1131,4 +1159,4 @@ $config['media_image_url_remote2'] = 'http://116.251.217.48:3581/upload';
/* End of file config.php */
/* Location: ./application/config/config.php */
header('Cache-Control: no-cache');
header('Cache-Control: no-cache');

@ -247,6 +247,7 @@ class Information extends CI_Controller
$this->config->set_item('templates', $this->config->item('templates_product_i'));
} else if ($this->config->item('site_code') === 'gm') {
$this->config->set_item('templates', $this->config->item('templates_product_gm'));
$data['infoTypeList'] = $this->config->item('InfoType_product_gm');
} else {
$this->config->set_item('templates', $this->config->item('templates_product'));
}
@ -2290,4 +2291,4 @@ class Information extends CI_Controller
echo json_encode($data);
return true;
}
}
}
Loading…
Cancel
Save