作者 郭文星

123

... ... @@ -11,7 +11,7 @@ use app\common\controller\Api;
use think\Db;
/**
* 首页接口111223232
* 首页接口
*/
class Car extends Base
{
... ... @@ -955,7 +955,7 @@ class Car extends Base
->where("carmodel_id", $carmodel_id)
->find();
if(!$chartercar){
$this->error("222当前车型暂无包车");
$this->error("当前车型暂无包车");
}
$price = 0;
$price = bcmul($charter_num, $chartercar['price'], 2);
... ...