소스 검색

tijiaoshuju

lvhao 1 주 전
부모
커밋
e34531aa63
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      core/CoreApp/controllers/Fullorder.php

+ 3 - 0
core/CoreApp/controllers/Fullorder.php

@@ -1077,6 +1077,9 @@ 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){