作者 赵彬吉

update

... ... @@ -47,7 +47,9 @@ class SyncSubmitTaskService
return false;
}
ProjectServer::useProject($project['id']);
if(!ProjectServer::useProject($project['id'])){
return false;
}
$action = $task['type'];
$handler = new self();
... ... @@ -133,7 +135,6 @@ class SyncSubmitTaskService
* @date 2023/11/30
*/
public static function checkIpCountry($domain, $ip, $type){
$domain = 'https://demo.globalso.site/';
$project = Project::getProjectByDomain($domain);
if(empty($project)){
throw new InquiryFilterException('项目不存在');
... ...