|
|
|
@ -1199,11 +1199,11 @@ class Information extends CI_Controller
|
|
|
|
|
|
|
|
|
|
public function test_price()
|
|
|
|
|
{
|
|
|
|
|
$price_rule = '<div style="color: red;">#ah-23,st,2#</div>';
|
|
|
|
|
$price_item_array = $this->price_pregmatch($price_rule);
|
|
|
|
|
var_dump($price_item_array);
|
|
|
|
|
$price_tag_list = $this->parse_price_tag($price_rule);
|
|
|
|
|
var_dump($price_tag_list);
|
|
|
|
|
$price_rule = '<div style="color: red;">#ah-23,st,2#</div>';
|
|
|
|
|
$price_item_array = $this->price_pregmatch($price_rule);
|
|
|
|
|
var_dump($price_item_array);
|
|
|
|
|
$price_tag_list = $this->parse_price_tag($price_rule);
|
|
|
|
|
var_dump($price_tag_list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
@ -3088,6 +3088,12 @@ class Information extends CI_Controller
|
|
|
|
|
if (isset($information->ic_type) && $information->ic_type == 'product') {
|
|
|
|
|
$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . $tmp;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// GH国际 不发布的时候删除缓存
|
|
|
|
|
if (!$information->ic_status) {
|
|
|
|
|
$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/delete_only?static_html_url=' . $url;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//int return direct
|
|
|
|
|
$cache_url = $this->input->post('cache_url');
|
|
|
|
|
if ($url && !$cache_url) {
|
|
|
|
|