Commit c357ba3d authored by hangjun83's avatar hangjun83

优化

parent cad80472
...@@ -29,7 +29,7 @@ class ThirdPlatformService extends PlatformAbstractService ...@@ -29,7 +29,7 @@ class ThirdPlatformService extends PlatformAbstractService
return false; return false;
} }
if($platformInfo['platform_type'] == 'self'){ if($platformInfo['platform_type'] == 'self'){
$params = json_decode($platformInfo['platform_params'],true); $params = $platformInfo['platform_params'];
if(!empty($params) && $params['whiteList']){ if(!empty($params) && $params['whiteList']){
if(!empty($params['whiteList'])){ if(!empty($params['whiteList'])){
foreach($params['whiteList'] as $whiteIp){ foreach($params['whiteList'] as $whiteIp){
......
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