lvhao vor 1 Woche
Ursprung
Commit
66934212dd
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      core/CoreApp/controllers/Fullorder.php

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

@@ -1964,6 +1964,10 @@ class Fullorder extends Start_Controller {
 			}
 			//结束注释
 			**/
+			$post['fpdata'] = str_replace(" ", "", $post['fpdata']); // 去除所有空格
+			$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['fpdata'] != $ud['fpdata'])
 			{
 			    echo json_encode(array('msg'=>'商品信息需要找梦体修改','success'=>false));exit;