作者 lyh

Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop

@@ -439,7 +439,7 @@ class ProductLogic extends BaseLogic @@ -439,7 +439,7 @@ class ProductLogic extends BaseLogic
439 'category_id' => $category_id, 439 'category_id' => $category_id,
440 'keyword_id' => $keyword_id, 440 'keyword_id' => $keyword_id,
441 'intro' => $data[5] ?? '', 441 'intro' => $data[5] ?? '',
442 - 'content' => $data[6] ?? '', 442 + 'content' => $data[6] ? preg_replace('/[\x{10000}-\x{10FFFF}]/u','',$data[6]) : '',
443 'seo_mate' => Arr::a2s($seo_mate), 443 'seo_mate' => Arr::a2s($seo_mate),
444 'created_uid' => $user_id, 444 'created_uid' => $user_id,
445 'status' => Product::STATUS_ON 445 'status' => Product::STATUS_ON
@@ -74,6 +74,7 @@ class CosService @@ -74,6 +74,7 @@ class CosService
74 */ 74 */
75 public static function uploadRemote($project_id,$image_type,$file_url) 75 public static function uploadRemote($project_id,$image_type,$file_url)
76 { 76 {
  77 + return '';
77 $ext = explode('.',$file_url); 78 $ext = explode('.',$file_url);
78 79
79 $filename = uniqid().rand(10000,99999).'.'.end($ext); 80 $filename = uniqid().rand(10000,99999).'.'.end($ext);