This commit is contained in:
jianghanbo 2024-09-06 18:31:12 +08:00
parent 967ae4bc3e
commit f3c1f6e44c
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Orders extends base
public function getOrderStatusNameAttr($val) public function getOrderStatusNameAttr($val)
{ {
if ($this->os == 1) if ($this->os == 1 || $this->os == 7)
return self::OrderStatus[$this->order_status] ?? '未知'; return self::OrderStatus[$this->order_status] ?? '未知';
elseif ($this->os == 3) elseif ($this->os == 3)
return self::DouyinStatus[$this->order_status] ?? '未知'; return self::DouyinStatus[$this->order_status] ?? '未知';