moonsflyer 5 月之前
父節點
當前提交
cb474f4aaf
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/adminapi/logic/after_sale/AfterSaleLogic.php

+ 4 - 0
app/adminapi/logic/after_sale/AfterSaleLogic.php

@@ -337,6 +337,10 @@ class AfterSaleLogic extends BaseLogic
             //更新订单状态
             RefundLogic::afterSaleRefundUpdate($afterSale->order_id);
 
+            Order::update([   'after_sale_status' => 6], [
+                [ 'id', '=', $order['id'] ],
+            ]);
+
             Db::commit();
             return true;
         } catch (\Exception $e) {