Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
93b132e0
Commit
93b132e0
authored
Jul 03, 2017
by
蒋林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config
parent
27b9ca22
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
3 deletions
+48
-3
config_ibanshou.php
e/back_conf/dev/config_ibanshou.php
+8
-0
config_ibanshou.php
e/back_conf/prod/config_ibanshou.php
+37
-0
config_ibanshou.php
e/back_conf/test/config_ibanshou.php
+2
-2
userfun.php
e/class/userfun.php
+1
-1
No files found.
e/back_conf/dev/config_ibanshou.php
View file @
93b132e0
...
@@ -21,6 +21,14 @@ $config = [
...
@@ -21,6 +21,14 @@ $config = [
'uc_base_url'
=>
'http://u.yunya.com/'
,
'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_api
'wxh.internal'
=>
[
'wxh.internal'
=>
[
'server'
=>
[
'server'
=>
[
...
...
e/back_conf/prod/config_ibanshou.php
View file @
93b132e0
...
@@ -20,4 +20,41 @@ $config = [
...
@@ -20,4 +20,41 @@ $config = [
'logs'
=>
'e/data/phpcas.log'
,
'logs'
=>
'e/data/phpcas.log'
,
'uc_base_url'
=>
'http://u.ibanshou.cn/'
,
'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
e/back_conf/test/config_ibanshou.php
View file @
93b132e0
...
@@ -24,7 +24,7 @@ $config = [
...
@@ -24,7 +24,7 @@ $config = [
//产品
//产品
'wxhpro'
=>
[
'wxhpro'
=>
[
'ucenter'
=>
'http://u.test.yunyamooc.com'
,
'ucenter'
=>
'http://u.test.yunyamooc.com'
,
'xue'
=>
'http://test.yunyamooc.com'
,
'xue'
=>
'http://
xue.
test.yunyamooc.com'
,
's'
=>
'http://s.test.yunyamooc.com'
,
's'
=>
'http://s.test.yunyamooc.com'
,
'bbs'
=>
'http://bbs.test.yunyamooc.com'
,
'bbs'
=>
'http://bbs.test.yunyamooc.com'
,
],
],
...
@@ -41,7 +41,7 @@ $config = [
...
@@ -41,7 +41,7 @@ $config = [
'clientSecret'
=>
'z1z7AZCWpbEkfWpak0dx'
'clientSecret'
=>
'z1z7AZCWpbEkfWpak0dx'
],
],
'xue'
=>
[
'xue'
=>
[
'apiUrl'
=>
'http://test.yunyamooc.com/api'
,
'apiUrl'
=>
'http://
xue.
test.yunyamooc.com/api'
,
'clientId'
=>
'common'
,
'clientId'
=>
'common'
,
'clientSecret'
=>
'AwT3YKykIwkREb48C1w3'
'clientSecret'
=>
'AwT3YKykIwkREb48C1w3'
],
],
...
...
e/class/userfun.php
View file @
93b132e0
...
@@ -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="'
.
$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">'
;
<div class="newest-list clearfix">'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment