6
0
Fork 0
release
李静 2021-12-17 09:58:41 +08:00
parent d19d2a7724
commit 7574925155
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class Order extends Model
*/
public function getExpiresAtAttribute()
{
if (! $this->isPending()) {
if ($this->status !== static::STATUS_PENDING) {
return 0;
}