作者 lyh

Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6 into lyh-server

@@ -401,7 +401,7 @@ class InquiryForwardLogic extends BaseLogic @@ -401,7 +401,7 @@ class InquiryForwardLogic extends BaseLogic
401 $text = Translate::tran($text, $lang); 401 $text = Translate::tran($text, $lang);
402 } 402 }
403 403
404 - return $this->success(['ai_message' => Common::deal_str($text)]); 404 + return $this->success(['ai_message' => str_replace('<br/>', PHP_EOL, Common::deal_str($text))]);
405 } 405 }
406 406
407 /** 407 /**
@@ -509,6 +509,14 @@ class SyncSubmitTaskService @@ -509,6 +509,14 @@ class SyncSubmitTaskService
509 throw new InquiryFilterException( '被刷数据'); 509 throw new InquiryFilterException( '被刷数据');
510 } 510 }
511 511
  512 + //3373江苏石川岛丰东真空 ip荷兰 name >8 纯字母不含空格
  513 + if($project_id == 3373 && in_array($data['country']??'', ['荷兰', '俄罗斯'])
  514 + && strlen($data['data']['name']??"") >= 8
  515 + && preg_match('/^[a-zA-Z]+$/', $data['data']['name']??'')
  516 + ){
  517 + throw new InquiryFilterException( '被刷数据');
  518 + }
  519 +
512 //数据都是空的 520 //数据都是空的
513 $is_all_empty = true; 521 $is_all_empty = true;
514 foreach ($data['data'] as $item){ 522 foreach ($data['data'] as $item){