shish 2 лет назад
Родитель
Сommit
d439c5b898
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      app-ghs/controllers/OrderController.php

+ 6 - 6
app-ghs/controllers/OrderController.php

@@ -1327,22 +1327,22 @@ class OrderController extends BaseController
         $packCost = $info['packCost'] ?? 0;
         $ysName = '';
         if (isset($info['localOrder']) && $info['localOrder'] == 1) {
-            if ($info['localOrder'] == 0) {
+            if ($info['transType'] == 0) {
                 $ysName = '德邦空运';
             }
-            if ($info['localOrder'] == 1) {
+            if ($info['transType'] == 1) {
                 $ysName = '顺丰空运';
             }
-            if ($info['localOrder'] == 2) {
+            if ($info['transType'] == 2) {
                 $ysName = '冷链物流';
             }
-            if ($info['localOrder'] == 3) {
+            if ($info['transType'] == 3) {
                 $ysName = '航空物流';
             }
-            if ($info['localOrder'] == 4) {
+            if ($info['transType'] == 4) {
                 $ysName = '同城配送';
             }
-            if ($info['localOrder'] == 5) {
+            if ($info['transType'] == 5) {
                 $ysName = '到店自取';
             }
         } else {