This commit is contained in:
parent
967ae4bc3e
commit
f3c1f6e44c
|
@ -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] ?? '未知';
|
||||||
|
|
Loading…
Reference in New Issue