作者 郭文星

123

... ... @@ -1053,6 +1053,9 @@ class Car extends Base
->where("specificaddress_id", $specificaddress_id)
->where("carmodel_id", $carmodel_id)
->find();
if(!$chartercar){
$this->error("当前车型暂无包车");
}
$price = 0;
$price = bcmul($charter_num, $chartercar['price'], 2);
//判断总表
... ...