فهرست منبع

打包费 运费

shish 2 سال پیش
والد
کامیت
ce8e78cdf3
2فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 3 2
      biz-hd/purchase/classes/PurchaseClass.php
  2. 3 3
      common/components/dict.php

+ 3 - 2
biz-hd/purchase/classes/PurchaseClass.php

@@ -70,10 +70,11 @@ class PurchaseClass extends BaseClass
     {
         $cost = dict::getDict('kmPackCost');
         if (getenv('YII_ENV') == 'production') {
-            //打包费0元
-            if (in_array($mainId, [10728, 20528])) {
+            //云漫梦金鹏 徐记花卉 打包费0元
+            if (in_array($mainId, [10728, 20528, 10866])) {
                 $cost = dict::getDict('kmPackCost2');
             }
+            //花瀚鲜花供应链
             if (in_array($mainId, [50, 14499])) {
                 $cost = dict::getDict('kmPackCost3');
             }

+ 3 - 3
common/components/dict.php

@@ -514,8 +514,8 @@ class dict
         }
 
         if (getenv('YII_ENV') == 'production') {
-            //老油云漫梦金鹏的德邦不需要收运费,搜索关键词dbNoFee
-            if (in_array($mainId, [20528]) && $category == 'transCost') {
+            //老油云漫梦金鹏 徐记花卉 的德邦不需要收运费,搜索关键词dbNoFee
+            if (in_array($mainId, [20528, 10866]) && $category == 'transCost') {
                 $respond = [
                     ['sign' => 0, 'perKiloCost' => 0],
                     ['sign' => 1, 'perKiloCost' => 0],
@@ -551,7 +551,7 @@ class dict
 
         if (getenv('YII_ENV') == 'production') {
             //老油云漫梦金鹏的德邦不需要收运费,搜索关键词dbNoFee
-            if (in_array($mainId, [20528])) {
+            if (in_array($mainId, [20528, 10866])) {
                 $respond['transCost'] = [
                     ['sign' => 0, 'perKiloCost' => 0],
                     ['sign' => 1, 'perKiloCost' => 0],