shish hace 3 años
padre
commit
3a7ea56849
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app-hd/controllers/PurchaseController.php

+ 1 - 0
app-hd/controllers/PurchaseController.php

@@ -85,6 +85,7 @@ class PurchaseController extends BaseController
             $post['product'] = $productList;
             $post['product'] = $productList;
             $packCost = 0;
             $packCost = 0;
             $post['packCost'] = $packCost;
             $post['packCost'] = $packCost;
+            $post['sendCost'] = isset($post['sendCost']) && $post['sendCost'] > 0 ? $post['sendCost'] : 0;
             $respond = PurchaseService::createPurchase($post, $ghsInfo);
             $respond = PurchaseService::createPurchase($post, $ghsInfo);
 
 
             if ($payMode == 0) {
             if ($payMode == 0) {