shish 3 lat temu
rodzic
commit
81627568ec
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app-ghs/controllers/OrderController.php

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

@@ -942,6 +942,7 @@ class OrderController extends BaseController
                 util::fail('填了运费,请选择代叫跑腿');
             }
             $post['sendCost'] = $sendCost;
+            $post['packCost'] = isset($post['packCost']) && $post['packCost'] > 0 ? $post['packCost'] : 0;
         }
 
         $hasPay = $post['hasPay'] ?? dict::getDict('hasPay', 'unPay');