Browse Source

商家拒绝退单

moonsflyer 5 months ago
parent
commit
26a534e9ac
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/adminapi/logic/after_sale/AfterSaleLogic.php

+ 3 - 1
app/adminapi/logic/after_sale/AfterSaleLogic.php

@@ -135,7 +135,9 @@ class AfterSaleLogic extends BaseLogic
                     'after_sale_sn' => $afterSale->sn
                     'after_sale_sn' => $afterSale->sn
                 ]
                 ]
             ]);
             ]);
-
+            Order::update([ 'after_sale_status' => 3 ], [
+                [ 'id', '=', $afterSale['order_id'] ],
+            ]);
             Db::commit();
             Db::commit();
             return true;
             return true;
         } catch(\Exception $e) {
         } catch(\Exception $e) {