|
|
@ -73,7 +73,7 @@ class Api extends CI_Controller {
|
|
|
|
$price = $this->api_model->getTourPrice($param);
|
|
|
|
$price = $this->api_model->getTourPrice($param);
|
|
|
|
$result["pricecn"]=$price;
|
|
|
|
$result["pricecn"]=$price;
|
|
|
|
if (is_numeric($price)){
|
|
|
|
if (is_numeric($price)){
|
|
|
|
$price = $this->currency->calc_show_price($this->currency->convert_moneny_by_char($price,"USD"));
|
|
|
|
$price = $this->currency->calc_show_price($price);
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
$price = "0";
|
|
|
|
$price = "0";
|
|
|
|
}
|
|
|
|
}
|
|
|
|