Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
d2257cd0
提交
d2257cd0
authored
4月 20, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
1e6cfc9a
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
18 行增加
和
18 行删除
+18
-18
sidebar.vue
client/src/components/learnSysLayout/sidebar.vue
+7
-7
hall.vue
client/src/pages/affairsHall/hall.vue
+3
-3
ProxyMonitor.js
server/server/controller/ProxyMonitor.js
+8
-8
没有找到文件。
client/src/components/learnSysLayout/sidebar.vue
浏览文件 @
d2257cd0
...
@@ -74,8 +74,8 @@ export default {
...
@@ -74,8 +74,8 @@ export default {
index
:
'1'
,
index
:
'1'
,
children
:
[
children
:
[
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header1Child1'
),
index
:
'1-1'
},
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header1Child1'
),
index
:
'1-1'
},
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header1Child2'
),
index
:
'1-2'
}
,
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header1Child2'
),
index
:
'1-2'
}
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header1Child3'
),
index
:
'1-3'
}
//
{ name: this.$t('components.learnSysLayout.sideBar.header1Child3'), index: '1-3' }
]
]
},
},
{
{
...
@@ -86,16 +86,16 @@ export default {
...
@@ -86,16 +86,16 @@ export default {
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header2Child1'
),
index
:
'2-1'
}
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header2Child1'
),
index
:
'2-1'
}
]
]
},
},
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header3'
),
iconClass
:
'el-icon-self-fankuiyijian'
,
index
:
'4'
},
{
{
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header4'
),
name
:
this
.
$t
(
'components.learnSysLayout.sideBar.header4'
),
iconClass
:
'el-icon-self-fankuiyijian'
,
iconClass
:
'el-icon-self-fankuiyijian'
,
index
:
'3'
index
:
'3'
}
}
// {
// name: this.$t('components.learnSysLayout.sideBar.header3'),
// iconClass: 'el-icon-self-fankuiyijian',
// index: '4'
// }
]
]
}
}
},
},
...
...
client/src/pages/affairsHall/hall.vue
浏览文件 @
d2257cd0
...
@@ -7,17 +7,17 @@
...
@@ -7,17 +7,17 @@
<div
class=
"con-box"
>
<div
class=
"con-box"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
v-
show
=
"tapIndex==0"
v-
if
=
"tapIndex==0"
@
click=
"golearningAdd('/app/affairs-hall/learning-add/-1')"
@
click=
"golearningAdd('/app/affairs-hall/learning-add/-1')"
>
申请新的活动
</el-button>
>
申请新的活动
</el-button>
<el-button
<el-button
type=
"primary"
type=
"primary"
v-
show
=
"tapIndex==1"
v-
if
=
"tapIndex==1"
@
click=
"golearningAdd('/app/affairs-hall/share-add/-1')"
@
click=
"golearningAdd('/app/affairs-hall/share-add/-1')"
>
申请新乐分享
</el-button>
>
申请新乐分享
</el-button>
<el-button
<el-button
type=
"primary"
type=
"primary"
v-
show
=
"tapIndex==2"
v-
if
=
"tapIndex==2"
@
click=
"golearningAdd('/app/affairs-hall/again-add/-1')"
@
click=
"golearningAdd('/app/affairs-hall/again-add/-1')"
>
申请重修
</el-button>
>
申请重修
</el-button>
<div
style=
"width: 100%; height: 0.2rem;"
></div>
<div
style=
"width: 100%; height: 0.2rem;"
></div>
...
...
server/server/controller/ProxyMonitor.js
浏览文件 @
d2257cd0
...
@@ -41,10 +41,10 @@ const agentProcessor = () => {
...
@@ -41,10 +41,10 @@ const agentProcessor = () => {
headers
[
'Host'
]
=
'sso.ezijing.com'
headers
[
'Host'
]
=
'sso.ezijing.com'
headers
[
'host'
]
=
'sso.ezijing.com'
headers
[
'host'
]
=
'sso.ezijing.com'
}
else
{
}
else
{
headers
[
'Host'
]
=
'lms-api.ezijing.com'
//
headers['Host'] = 'lms-api.ezijing.com'
headers
[
'host'
]
=
'lms-api.ezijing.com'
//
headers['host'] = 'lms-api.ezijing.com'
//
headers['Host'] = 'lms-worklobby-api.ezijing.com'
headers
[
'Host'
]
=
'lms-worklobby-api.ezijing.com'
//
headers['host'] = 'lms-worklobby-api.ezijing.com'
headers
[
'host'
]
=
'lms-worklobby-api.ezijing.com'
}
}
/* 测试 */
/* 测试 */
// if (/\/essay/gi.test(options.url) && /post/gi.test(req.method)) {
// if (/\/essay/gi.test(options.url) && /post/gi.test(req.method)) {
...
@@ -133,10 +133,10 @@ const agentProcessor = () => {
...
@@ -133,10 +133,10 @@ const agentProcessor = () => {
/* getInfo 时,则写入 用户基本信息 */
/* getInfo 时,则写入 用户基本信息 */
if
(
/user_center
\/
get_user_info/gi
.
test
(
options
.
url
))
{
if
(
/user_center
\/
get_user_info/gi
.
test
(
options
.
url
))
{
/* check-access接口 */
/* check-access接口 */
headers
[
'Host'
]
=
'lms-api.ezijing.com'
//
headers['Host'] = 'lms-api.ezijing.com'
headers
[
'host'
]
=
'lms-api.ezijing.com'
//
headers['host'] = 'lms-api.ezijing.com'
//
headers['Host'] = 'lms-worklobby-api.ezijing.com'
headers
[
'Host'
]
=
'lms-worklobby-api.ezijing.com'
//
headers['host'] = 'lms-worklobby-api.ezijing.com'
headers
[
'host'
]
=
'lms-worklobby-api.ezijing.com'
axios
.
defaults
.
headers
=
headers
axios
.
defaults
.
headers
=
headers
axios
({
axios
({
timeout
:
30
*
1000
,
timeout
:
30
*
1000
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论