Commit f4d6b5d1 authored by hangjun83's avatar hangjun83

优化

parent 09279500
......@@ -30,7 +30,7 @@ class ThirdPlatformService extends PlatformAbstractService
}
if($platformInfo['platform_type'] == 'self'){
$domain = substr($url, 7);
if(!Str::endsWith(strtolower((string) $platformInfo['platform_url']), $domain)){
if(!Str::contains(strtolower((string) $platformInfo['platform_url']), $domain)){
return false;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment