From 39e8ef7fad0ca8f38ee5a92edc01d19c21252bc6 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Mon, 18 Dec 2023 14:12:36 +0800 Subject: [PATCH] fix --- application/controllers/information.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 549e3d28..4e7b8f94 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1199,11 +1199,11 @@ class Information extends CI_Controller public function test_price() { - $price_rule = '
#ah-23,st,2#
'; - $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 = '
#ah-23,st,2#
'; + $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) {