作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

修改问题文档

... ... @@ -549,7 +549,7 @@ class Member extends Frontend
$deduct_price[] = $ratio_price*$ratio_day;
}
dump($price['svipprice']);
dump(array_sum($deduct_price));
dump($deduct_price);
$svipprice = $price['svipprice']-array_sum($deduct_price);
$price['svipprice'] = round($svipprice,2);
$this->assign('price',$price);
... ...