소스 검색

周六晚上线上修改网红bug

longyi 6 달 전
부모
커밋
66d73ea3b5
3개의 변경된 파일4362개의 추가작업 그리고 4355개의 파일을 삭제
  1. 8 5
      core/CoreApp/controllers/Fullorder.php
  2. 4347 4345
      core/CoreApp/controllers/Fullordersmt.php
  3. 7 5
      core/CoreApp/controllers/Fullordertt.php

+ 8 - 5
core/CoreApp/controllers/Fullorder.php

@@ -1008,12 +1008,15 @@ class Fullorder extends Start_Controller {
 					$way += 1;
 				}
 			}
-			//如果备注中出现网红的两个字 ,那么在fpdata种的品名中必须有 WH这两个字
-			if(stripos($post['shipremarks'],'网红') !== false){
-				if(stripos($post['fpdata'],'-2090-') === false){
-					echo json_encode(array('msg'=>'网红单请在商品名称中勾选WH!','success'=>false));exit;
-				}	
+			//如果备注中出现网红的两个字 ,那么在fpdata种的品名中必须有 WH这两个字     且美仓不用
+			if($post['type'] !=5 ){
+			    if(stripos($post['shipremarks'],'网红') !== false){
+    				if(stripos($post['fpdata'],'-2090-') === false){
+    					echo json_encode(array('msg'=>'网红单请在商品名称中勾选WH!','success'=>false));exit;
+    				}	
+    			}
 			}
+			
 			if((($post['express'] == 2 || $post['express'] == 63 || $post['express'] == 64) && $post['type'] != 5) || ($post['express'] != 2 && $post['express'] != 63 && $post['express'] != 64 && $post['type'] == 5))
 			{
 				echo json_encode(array('msg'=>'此快递方式必须选择美国仓!','success'=>false));exit;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4347 - 4345
core/CoreApp/controllers/Fullordersmt.php


+ 7 - 5
core/CoreApp/controllers/Fullordertt.php

@@ -985,11 +985,13 @@ class Fullordertt extends Start_Controller {
 					$way += 1;
 				}
 			}
-			//如果备注中出现网红的两个字 ,那么在fpdata种的品名中必须有 WH这两个字
-			if(stripos($post['shipremarks'],'网红') !== false){
-				if(stripos($post['fpdata'],'-2090-') === false){
-					echo json_encode(array('msg'=>'网红单请在商品名称中勾选WH!','success'=>false));exit;
-				}	
+			//如果备注中出现网红的两个字 ,那么在fpdata种的品名中必须有 WH这两个字     且美仓不用
+			if($post['type'] !=5 ){
+			    if(stripos($post['shipremarks'],'网红') !== false){
+    				if(stripos($post['fpdata'],'-2090-') === false){
+    					echo json_encode(array('msg'=>'网红单请在商品名称中勾选WH!','success'=>false));exit;
+    				}	
+    			}
 			}
 			if((($post['express'] == 2 || $post['express'] == 63 || $post['express'] == 64) && $post['type'] != 5) || ($post['express'] != 2 && $post['express'] != 63 && $post['express'] != 64 && $post['type'] == 5))
 			{