浏览代码

提交数据

lvhao 6 天之前
父节点
当前提交
b46220212d
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. 3 3
      core/CoreApp/controllers/Fullordertt.php
  2. 4 4
      core/CoreApp/models/Model_logic_order.php

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

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

+ 4 - 4
core/CoreApp/models/Model_logic_order.php

@@ -314,7 +314,7 @@ class Model_logic_order extends Lin_Model {
             
             
            
            
         }
         }
-        if($post['type'] != 5 && in_array($post['express'],[2,63,64,81,83]))
+        if($post['type'] != 5 && in_array($post['express'],[2,63,64,81,83,85]))
         {
         {
             return [
             return [
                 'code'=>-1,
                 'code'=>-1,
@@ -322,7 +322,7 @@ class Model_logic_order extends Lin_Model {
             ];
             ];
         }
         }
 
 
-        if($post['type'] == 5 && !in_array($post['express'],[2,63,64,81,83]))
+        if($post['type'] == 5 && !in_array($post['express'],[2,63,64,81,83,85]))
         {
         {
             return [
             return [
                 'code'=>-1,
                 'code'=>-1,
@@ -533,7 +533,7 @@ class Model_logic_order extends Lin_Model {
            
            
         }
         }
 
 
-        if($post['type'] != 5 && in_array($post['express'],[2,63,64,81,83]))
+        if($post['type'] != 5 && in_array($post['express'],[2,63,64,81,83,85]))
         {
         {
             return [
             return [
                 'code'=>-1,
                 'code'=>-1,
@@ -541,7 +541,7 @@ class Model_logic_order extends Lin_Model {
             ];
             ];
         }
         }
 
 
-        if($post['type'] == 5 && !in_array($post['express'],[2,63,64,81,83]))
+        if($post['type'] == 5 && !in_array($post['express'],[2,63,64,81,83,85]))
         {
         {
             return [
             return [
                 'code'=>-1,
                 'code'=>-1,