|
@@ -260,8 +260,12 @@ class PackageClass
|
|
if($clientip === false){
|
|
if($clientip === false){
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- else if( $clientip == '39.171.62.20'){
|
|
|
|
|
|
+ if( $clientip == '39.171.62.20'){
|
|
|
|
+ logInfo("sis intranet detected. oss host http://192.168.3.10:8996");
|
|
self::$config['oss-host'] = 'http://192.168.3.10:8996';
|
|
self::$config['oss-host'] = 'http://192.168.3.10:8996';
|
|
|
|
+ }else{
|
|
|
|
+ logInfo("internet detected. oss host http://192.168.3.10:8996");
|
|
|
|
+ self::$config['oss-host'] = 'http://distribute-helper.oss-cn-hangzhou.aliyuncs.com';
|
|
}
|
|
}
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|