Commit 71db0eec authored by 杨培's avatar 杨培

适应https

parent 65428b42
<?php <?php
$scheme = (isset($_SERVER['REQUEST_SCHEME']) && $_SERVER['REQUEST_SCHEME'] == 'http') ? $_SERVER['REQUEST_SCHEME'] : 'https';
$config = [ $config = [
//是否使用用户中心 //是否使用用户中心
...@@ -23,10 +24,10 @@ $config = [ ...@@ -23,10 +24,10 @@ $config = [
//产品 //产品
'wxhpro' => [ 'wxhpro' => [
'ucenter' => 'http://u.ibanshou.cn', 'ucenter' => $scheme.'://u.ibanshou.cn',
'xue' => 'http://xue.ibanshou.cn', 'xue' => $scheme.'://xue.ibanshou.cn',
's' => 'http://s.ibanshou.cn', 's' => $scheme.'://s.ibanshou.cn',
'bbs' => 'http://bbs.ibanshou.cn', 'bbs' => $scheme.'://bbs.ibanshou.cn',
], ],
//wxh_internal_api //wxh_internal_api
......
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