jun 6 сар өмнө
parent
commit
8c030fd946

+ 2 - 2
app/Http/Controllers/Admin/Product.php

@@ -881,8 +881,8 @@ class Product extends Auth{
 				// 结果
 				$temp 							= ['id'=>0,'spec_id'=>$specId,'thumb'=>'','name'=>'','remark'=>''];
 				// 获取名称
-				$temp['name']  					= $name;
-				// 获取对应的备注信息
+                $temp['name']                   = str_ireplace(',','',$name);
+                // 获取对应的备注信息
 				if( !empty($value['remark'][$key]) ) $temp['remark'] = $value['remark'][$key];
 				if( !empty($value['thumb'][$key]) ) $temp['thumb'] = $value['thumb'][$key];
 				// 获取对应的数据