Commit 93b132e0 authored by 蒋林's avatar 蒋林

config

parent 27b9ca22
......@@ -21,6 +21,14 @@ $config = [
'uc_base_url' => 'http://u.yunya.com/',
],
//产品
'wxhpro' => [
'ucenter' => 'http://u.yunya.com',
'xue' => 'http://ct.yunya.com',
's' => 'http://s.yunya.com',
'bbs' => 'http://bbs.yunya.com',
],
//wxh_internal_api
'wxh.internal' => [
'server' => [
......
......@@ -20,4 +20,41 @@ $config = [
'logs' => 'e/data/phpcas.log',
'uc_base_url' => 'http://u.ibanshou.cn/',
],
//产品
'wxhpro' => [
'ucenter' => 'http://u.yunya.com',
'xue' => 'http://ct.yunya.com',
's' => 'http://s.yunya.com',
'bbs' => 'http://bbs.yunya.com',
],
//wxh_internal_api
'wxh.internal' => [
'server' => [
'secret' => '',
],
'client' => [
'ucenter' => [
'apiUrl' => 'http://u.ibanshou.cn/api/server',
'clientId' => 'common',
'clientSecret' => 'HjEfzuGmoVbBPSDVg9ig'
],
'xue' => [
'apiUrl' => 'http://xue.ibanshou.cn/api',
'clientId' => 'common',
'clientSecret' => 'hv2yWxz2P0ALwMr7jXdO'
],
'code' => [
'apiUrl' => 'http://code.ibanshou.cn/site/api-server',
'clientId' => 'common',
'clientSecret' => '2LMbaS2Ac9a2cPPBlZwq'
],
'bbs' => [
'apiUrl' => 'http://bbs.ibanshou.cn/api/server.php',
'clientId' => 'common',
'clientSecret' => '1WQwnpjcURS0JwSkdiq3r'
],
]
],
];
\ No newline at end of file
......@@ -24,7 +24,7 @@ $config = [
//产品
'wxhpro' => [
'ucenter' => 'http://u.test.yunyamooc.com',
'xue' => 'http://test.yunyamooc.com',
'xue' => 'http://xue.test.yunyamooc.com',
's' => 'http://s.test.yunyamooc.com',
'bbs' => 'http://bbs.test.yunyamooc.com',
],
......@@ -41,7 +41,7 @@ $config = [
'clientSecret' => 'z1z7AZCWpbEkfWpak0dx'
],
'xue' => [
'apiUrl' => 'http://test.yunyamooc.com/api',
'apiUrl' => 'http://xue.test.yunyamooc.com/api',
'clientId' => 'common',
'clientSecret' => 'AwT3YKykIwkREb48C1w3'
],
......
......@@ -13,7 +13,7 @@ function user_ibanshou($num)
$list = CourseList::getRecommendList($num);
$str = '<div class="learnning-course newest">
<div class="tit">推荐课程<span></span><a href="'.$config['wxhpro']['bbs'].'/home/all-course">全部课程</a></div>
<div class="tit">推荐课程<span></span><a href="'.$config['wxhpro']['xue'].'/home/all-course">全部课程</a></div>
<div class="newest-list clearfix">';
......
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