فهرست منبع

修改TT cbt美仓判断

lvhao 5 روز پیش
والد
کامیت
2559d920fb
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      core/CoreApp/controllers/Fullordertt.php

+ 3 - 3
core/CoreApp/controllers/Fullordertt.php

@@ -1026,7 +1026,7 @@ class Fullordertt extends Start_Controller {
     				}	
     			}
 			}
-			if((($post['express'] == 2 || $post['express'] == 63 || $post['express'] == 64 || $post['express'] == 81) && $post['type'] != 5) || ($post['express'] != 2 && $post['express'] != 63 && $post['express'] != 64 && $post['express'] != 81 && $post['type'] == 5))
+			if((($post['express'] == 2 || $post['express'] == 63 || $post['express'] == 64 || $post['express'] == 81  || $post['express'] == 83) && $post['type'] != 5) || ($post['express'] != 2 && $post['express'] != 63 && $post['express'] != 64 && $post['express'] != 81 && $post['express'] != 83 && $post['type'] == 5))
 			{
 				echo json_encode(array('msg'=>'此快递方式不可从美仓发货!','success'=>false));exit;
 			}
@@ -1741,12 +1741,12 @@ class Fullordertt extends Start_Controller {
 				echo json_encode(array('msg'=>'非英国无法选择CNE和GES!','success'=>false));exit;
 			}
 
-			if($post['type'] != 5 && in_array($post['express'],[2,63,64,81]))
+			if($post['type'] != 5 && in_array($post['express'],[2,63,64,81,83]))
 			{
 				echo json_encode(array('msg'=>"此快递方式必须从美仓发货!",'success'=>false));exit;
 			}
 	
-			if($post['type'] == 5 && !in_array($post['express'],[2,63,64,81]))
+			if($post['type'] == 5 && !in_array($post['express'],[2,63,64,81,83]))
 			{
 				echo json_encode(array('msg'=>"此快递方式不能美仓发货!",'success'=>false));exit;
 			}