shish hai 1 ano
pai
achega
38a75928e6
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      app-ghs/controllers/OrderController.php

+ 12 - 0
app-ghs/controllers/OrderController.php

@@ -2353,6 +2353,7 @@ class OrderController extends BaseController
                                         $freight = bcadd($freight, $amount, 2);
                                     }
                                 }
+                                //花大苪
                                 if ($mainId == 8164) {
                                     $remainNum = bcsub($num, $refundNum);
                                     $amount = bcmul($remainNum, $unitPrice, 2);
@@ -2363,6 +2364,17 @@ class OrderController extends BaseController
                                         $freight = bcadd($freight, $amount, 2);
                                     }
                                 }
+                                //石头花艺
+                                if ($mainId == 50) {
+                                    $remainNum = bcsub($num, $refundNum);
+                                    $amount = bcmul($remainNum, $unitPrice, 2);
+                                    if ($classId == 71495) {
+                                        $carton = bcadd($carton, $amount, 2);
+                                    }
+                                    if ($classId == 91009) {
+                                        $freight = bcadd($freight, $amount, 2);
+                                    }
+                                }
                             }
                         }
                     }