|
|
@@ -498,7 +498,7 @@ class dict
|
|
|
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
//老油云漫梦金鹏的德邦不需要收运费,搜索关键词dbNoFee
|
|
|
- if ($mainId == 20528 && $category == 'transCost') {
|
|
|
+ if (in_array($mainId, [20528]) && $category == 'transCost') {
|
|
|
$respond = [
|
|
|
['sign' => 0, 'perKiloCost' => 0],
|
|
|
['sign' => 1, 'perKiloCost' => 9],
|
|
|
@@ -510,7 +510,7 @@ class dict
|
|
|
}
|
|
|
} else {
|
|
|
//石头花艺的德邦不需要收运费,搜索关键词dbNoFee
|
|
|
- if ($mainId == 644 && $category == 'transCost') {
|
|
|
+ if (in_array($mainId, [644]) && $category == 'transCost') {
|
|
|
$respond = [
|
|
|
['sign' => 0, 'perKiloCost' => 0],
|
|
|
['sign' => 1, 'perKiloCost' => 9],
|
|
|
@@ -544,7 +544,7 @@ class dict
|
|
|
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
//老油云漫梦金鹏的德邦不需要收运费,搜索关键词dbNoFee
|
|
|
- if ($mainId == 20528) {
|
|
|
+ if (in_array($mainId, [20528])) {
|
|
|
$respond['transCost'] = [
|
|
|
['sign' => 0, 'perKiloCost' => 0],
|
|
|
['sign' => 1, 'perKiloCost' => 9],
|
|
|
@@ -556,7 +556,7 @@ class dict
|
|
|
}
|
|
|
} else {
|
|
|
//石头花艺的德邦不需要收运费,搜索关键词dbNoFee
|
|
|
- if ($mainId == 644) {
|
|
|
+ if (in_array($mainId, [644])) {
|
|
|
$respond['transCost'] = [
|
|
|
['sign' => 0, 'perKiloCost' => 0],
|
|
|
['sign' => 1, 'perKiloCost' => 9],
|