Commit 53291124 authored by wwccw0591's avatar wwccw0591

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into ccw

parents 85800333 53ccb9bb
......@@ -115,7 +115,7 @@ class Common
public static function getBaseUrl(){
$prefix = 'http';
if(self::is_https()){
if(self::is_https() || $_SERVER['SERVER_NAME'] == 'apiceshi.shenbd.com'){
$prefix = 'https';
}
$url = $prefix.'://'.$_SERVER['SERVER_NAME'];
......
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