From cbb1e1d480106efdfc324dd9eb43c6d73acd051a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Tue, 29 Jul 2025 16:06:28 +0800 Subject: [PATCH] fix --- application/third_party/ctmobilefirst/models/api_model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/third_party/ctmobilefirst/models/api_model.php b/application/third_party/ctmobilefirst/models/api_model.php index 1dee9cae..12bfeabc 100644 --- a/application/third_party/ctmobilefirst/models/api_model.php +++ b/application/third_party/ctmobilefirst/models/api_model.php @@ -10,6 +10,7 @@ class Api_model extends CI_Model { parent::__construct(); $this->HT = $this->load->database('HT', TRUE); $this->InfoCT = $this->load->database('INFORMATION', TRUE); + $this->load->library('Currency'); } var $dei_sn = 17; //组别ID @@ -699,7 +700,7 @@ class Api_model extends CI_Model { $price = $this->getTourPrice($row["code"]); $resultPrice = 0; if (isset($price->CLP_TwoToFiveAdultPrice)){ - $resultPrice = $price->CLP_TwoToFiveAdultPrice; + $resultPrice = $this->currency->calc_show_price($price->CLP_TwoToFiveAdultPrice); } // 处理价格: