master
赵鹏 10 months ago
parent 89eeece169
commit cbb1e1d480

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

Loading…
Cancel
Save