修复 价格获取问题
This commit is contained in:
parent
5bc90b2b18
commit
44d2b71327
@ -106,7 +106,7 @@ protected static function boot()
|
|||||||
$model->hour_at = now()->hour;
|
$model->hour_at = now()->hour;
|
||||||
|
|
||||||
if ($model->price !== null) {
|
if ($model->price !== null) {
|
||||||
$model->price = $model->module->price;
|
$model->price = round($model->price, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($model->managed_price !== null) {
|
if ($model->managed_price !== null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user