From ceb57adbc4cf0b56dc2df53eb071311fa5f267b2 Mon Sep 17 00:00:00 2001 From: Jimmy Liow <18777396951@163.com> Date: Thu, 11 May 2023 14:58:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=B7=E6=A0=BC=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/controllers/information.php b/application/controllers/information.php index 001c2a98..a38d5eef 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1012,12 +1012,14 @@ class Information extends CI_Controller public function replace_price_tag($price_content) { $price_item_array = $this->price_pregmatch($price_content); + var_dump($price_item_array); if ( ! empty($price_item_array)) { foreach ($price_item_array as $price_item) { $price_date = !empty($price_item->price_date) ? $price_item->price_date : date('Y-m-d', time() + 86400 * 7); //当前时间7天后的价格 $price_number = ''; //优先读取新的价格体系 $price = $this->PrimeLinePrice_model->search($price_item->cli_no, 1, $price_item->cli_grade, $price_item->person_size, $price_date); + var_dump($price); if (!empty($price)) { switch (strtoupper($price_item->price_people)) { case 'A':