lvhao 1 tydzień temu
rodzic
commit
6f9a0fd344
1 zmienionych plików z 2 dodań i 5 usunięć
  1. 2 5
      core/CoreApp/controllers/Fullorder.php

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

@@ -1077,9 +1077,6 @@ class Fullorder extends Start_Controller {
 				}
 			}
 			
-			$post['fpdata'] =  preg_replace('/\s+/', '', $post['fpdata']); // 去除所有空格
-			$post['fpdata'] = str_replace(array("\r", "\n"), "", $post['fpdata']);
-
 			//减少代码复用吧
 			$lo_ret = $this->logic_order->checkEditExpress($post);
 			if($lo_ret['code'] != 1){
@@ -1967,8 +1964,8 @@ class Fullorder extends Start_Controller {
 			}
 			//结束注释
 			**/
-			$post['fpdata'] =  preg_replace('/\s+/', '', $post['fpdata']); // 去除所有空格
-			$post['fpdata'] = str_replace(array("\r", "\n"), "", $post['fpdata']);
+			// $post['fpdata'] =  preg_replace('/\s+/', '', $post['fpdata']);str_replace(" ", "", ); // 去除所有空格
+			// $post['fpdata'] = str_replace(array("\r", "\n"), "", $post['fpdata']);
 			// $ud['fpdata'] = str_replace(" ", "", $ud['fpdata']); // 去除所有空格
 			// $ud['fpdata'] = str_replace(array("\r", "\n"), "", $ud['fpdata']);
 			if($ud['state'] == 216 && $post['whlabel'] != $ud['whlabel'])