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); } // 处理价格: