线路获取价格fix

hotfix/paypal-note
赵鹏 4 years ago
parent 38f68af915
commit e9c00d8922

@ -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";
} }

Loading…
Cancel
Save