Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
22b22444
Commit
22b22444
authored
Apr 26, 2021
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/education
parents
6b5240bb
66deda2b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
3 deletions
+19
-3
Config.cs
Edu.Common/Config.cs
+12
-0
LoginController.cs
Edu.WebApi/Controllers/User/LoginController.cs
+1
-1
Startup.cs
Edu.WebApi/Startup.cs
+1
-0
appsettings.json
Edu.WebApi/appsettings.json
+5
-2
No files found.
Edu.Common/Config.cs
View file @
22b22444
...
@@ -436,5 +436,17 @@ namespace Edu.Common
...
@@ -436,5 +436,17 @@ namespace Edu.Common
return
ReadConfigKey
(
"ContractDefaultTitle"
);
return
ReadConfigKey
(
"ContractDefaultTitle"
);
}
}
}
}
/// <summary>
/// 是否推送消息
/// </summary>
public
static
int
IsPushMessage
{
get
{
int
.
TryParse
(
ReadConfigKey
(
"IsPushMessage"
),
out
int
IsPushMessage
);
return
IsPushMessage
;
}
}
}
}
}
}
\ No newline at end of file
Edu.WebApi/Controllers/User/LoginController.cs
View file @
22b22444
...
@@ -198,7 +198,7 @@ namespace Edu.WebApi.Controllers.User
...
@@ -198,7 +198,7 @@ namespace Edu.WebApi.Controllers.User
uploadConfig
?.
UploadDomain
uploadConfig
?.
UploadDomain
};
};
}
}
if
(
Common
.
Config
.
Is
Online
)
if
(
Common
.
Config
.
Is
PushMessage
==
1
)
{
{
for
(
var
i
=
0
;
i
<
10
;
i
++)
for
(
var
i
=
0
;
i
<
10
;
i
++)
{
{
...
...
Edu.WebApi/Startup.cs
View file @
22b22444
...
@@ -41,6 +41,7 @@ namespace Edu.WebApi
...
@@ -41,6 +41,7 @@ namespace Edu.WebApi
"http://localhost:8081"
,
"http://localhost:8081"
,
"http://localhost:8080"
,
"http://localhost:8080"
,
"http://localhost:8181"
,
"http://localhost:8181"
,
"http://localhost:8182"
,
"http://localhost:8082"
,
"http://localhost:8082"
,
"http://127.0.0.1:50512"
,
"http://127.0.0.1:50512"
,
"http://127.0.0.1:20224"
,
"http://127.0.0.1:20224"
,
...
...
Edu.WebApi/appsettings.json
View file @
22b22444
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
//未填写
未打分
下降比例
//未填写
未打分
下降比例
"OKRMatterValue"
:
"30,100,100"
,
"OKRMatterValue"
:
"30,100,100"
,
//是否是线上环境
//是否是线上环境
"IsOnline"
:
tru
e
,
"IsOnline"
:
fals
e
,
//退课流程编号
//退课流程编号
"BackClassFlowId"
:
1
,
"BackClassFlowId"
:
1
,
//分区校长岗位编号
//分区校长岗位编号
...
@@ -58,5 +58,8 @@
...
@@ -58,5 +58,8 @@
//合同默认抬头
//合同默认抬头
"ContractDefaultTitle"
:
"JH-DZ-CD-"
,
"ContractDefaultTitle"
:
"JH-DZ-CD-"
,
//消息推送AppId
//消息推送AppId
"PushAppId"
:
"JiaHeJiaoYu"
"PushAppId"
:
"JiaHeJiaoYu"
,
//是否推送消息
"IsPushMessage"
:
"0"
}
}
\ No newline at end of file
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