moonsflyer 5 mesi fa
parent
commit
cb474f4aaf
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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) {