shish 3 سال پیش
والد
کامیت
3a7ea56849
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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;
             $packCost = 0;
             $post['packCost'] = $packCost;
+            $post['sendCost'] = isset($post['sendCost']) && $post['sendCost'] > 0 ? $post['sendCost'] : 0;
             $respond = PurchaseService::createPurchase($post, $ghsInfo);
 
             if ($payMode == 0) {