diff --git a/app/Models/OrderItems.php b/app/Models/OrderItems.php index 4f025ab..f465bb7 100755 --- a/app/Models/OrderItems.php +++ b/app/Models/OrderItems.php @@ -16,7 +16,7 @@ class OrderItems extends SoftDeletesModel public function getPaidStatusAttribute() { - if (!$this->total) { + if ($this->total == 0) { return "未服务"; } if ($this->paid_at) {