Commit 27b9ca22 authored by 蒋林's avatar 蒋林

config

parent 1381e76a
...@@ -21,6 +21,14 @@ $config = [ ...@@ -21,6 +21,14 @@ $config = [
'uc_base_url' => 'http://pre.u.ibanshou.cn/', 'uc_base_url' => 'http://pre.u.ibanshou.cn/',
], ],
//产品
'wxhpro' => [
'ucenter' => 'http://u.test.yunyamooc.com',
'xue' => 'http://test.yunyamooc.com',
's' => 'http://s.test.yunyamooc.com',
'bbs' => 'http://bbs.test.yunyamooc.com',
],
//wxh_internal_api //wxh_internal_api
'wxh.internal' => [ 'wxh.internal' => [
'server' => [ 'server' => [
...@@ -28,7 +36,7 @@ $config = [ ...@@ -28,7 +36,7 @@ $config = [
], ],
'client' => [ 'client' => [
'ucenter' => [ 'ucenter' => [
'apiUrl' => 'http://testsso.yunyamooc.com/api/server', 'apiUrl' => 'http://u.test.yunyamooc.com/api/server',
'clientId' => 'common', 'clientId' => 'common',
'clientSecret' => 'z1z7AZCWpbEkfWpak0dx' 'clientSecret' => 'z1z7AZCWpbEkfWpak0dx'
], ],
......
...@@ -13,7 +13,7 @@ function user_ibanshou($num) ...@@ -13,7 +13,7 @@ function user_ibanshou($num)
$list = CourseList::getRecommendList($num); $list = CourseList::getRecommendList($num);
$str = '<div class="learnning-course newest"> $str = '<div class="learnning-course newest">
<div class="tit">推荐课程<span></span><a href="http://xue.ibanshou.cn/home/all-course">全部课程</a></div> <div class="tit">推荐课程<span></span><a href="'.$config['wxhpro']['bbs'].'/home/all-course">全部课程</a></div>
<div class="newest-list clearfix">'; <div class="newest-list clearfix">';
......
...@@ -21,8 +21,8 @@ $config = [ ...@@ -21,8 +21,8 @@ $config = [
'uc_base_url' => 'http://u.yunya.com/', 'uc_base_url' => 'http://u.yunya.com/',
], ],
//api host //产品
'api.host' => [ 'wxhpro' => [
'ucenter' => 'http://u.yunya.com', 'ucenter' => 'http://u.yunya.com',
'xue' => 'http://ct.yunya.com', 'xue' => 'http://ct.yunya.com',
's' => 'http://s.yunya.com', 's' => 'http://s.yunya.com',
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</div> </div>
<div class="learnning-course newest"> <div class="learnning-course newest">
<div class="tit">推荐课程<span></span><a href="http://xue.ibanshou.cn/home/all-course">全部课程</a></div> <div class="tit">推荐课程<span></span><a href="http://bbs.yunya.com/home/all-course">全部课程</a></div>
<div class="newest-list clearfix"><div class="learn-course-box"> <div class="newest-list clearfix"><div class="learn-course-box">
<div class="lc-img"><a href="http://ct.yunya.com/home/course-detail?courseId=37"><img <div class="lc-img"><a href="http://ct.yunya.com/home/course-detail?courseId=37"><img
src="http://deimg.c.xixia.cc/preview/14/af/53/vhc0QjF8zCEDRVLD5135.jpg-ym.preview"></a></div> src="http://deimg.c.xixia.cc/preview/14/af/53/vhc0QjF8zCEDRVLD5135.jpg-ym.preview"></a></div>
......
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