From f3c1f6e44c2ab681e4a5975731e72654f81d7ade Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Fri, 6 Sep 2024 18:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/model/Orders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/app/model/Orders.php b/service/app/model/Orders.php index 0c937b64..dcfe6d4f 100644 --- a/service/app/model/Orders.php +++ b/service/app/model/Orders.php @@ -38,7 +38,7 @@ class Orders extends base public function getOrderStatusNameAttr($val) { - if ($this->os == 1) + if ($this->os == 1 || $this->os == 7) return self::OrderStatus[$this->order_status] ?? '未知'; elseif ($this->os == 3) return self::DouyinStatus[$this->order_status] ?? '未知';