Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
涂亚平
/
subsidy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f09aa192
authored
Aug 22, 2023
by
涂亚平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contentVod别名
1 parent
7f91af80
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
9 deletions
src/main/java/com/subsidy/jobs/RenSheJuJob.java
src/main/java/com/subsidy/service/impl/RenSheJuServiceImpl.java
src/main/resources/mapper/CourseContentMapper.xml
src/main/java/com/subsidy/jobs/RenSheJuJob.java
View file @
f09aa19
...
...
@@ -132,15 +132,25 @@ public class RenSheJuJob {
if
(
"prod"
.
equals
(
env
))
{
renSheJuService
.
uploadClassCode
();
}
System
.
gc
();
}
/**
* POST-9 获取推送失败班级列表
*/
@Scheduled
(
cron
=
"0 35 1 * * ?"
)
public
void
getErrorClass
()
throws
IOException
{
renSheJuService
.
getErrorClass
();
}
// /**
// * POST-9 获取推送失败班级列表
// */
// @Scheduled(cron = "0 35 1 * * ?")
// public void getErrorClass()throws IOException{
// renSheJuService.getErrorClass();
// }
// /**
// * 定时gc
// */
// @Scheduled(cron = "0 10 16 * * ?")
// public void gc(){
// Runtime.getRuntime().gc();
// }
/**
* 强制用户用户下线(websocket强制下线)
...
...
src/main/java/com/subsidy/service/impl/RenSheJuServiceImpl.java
View file @
f09aa19
...
...
@@ -677,7 +677,7 @@ public class RenSheJuServiceImpl implements RenSheJuService {
if
(
null
!=
rensheResponseVO
.
getCtt
()){
renshejuHistoryDO
.
setOutputParam
(
rensheResponseVO
.
getCtt
().
toString
());
}
else
{
re
sponse
.
body
().
toString
(
);
re
nshejuHistoryDO
.
setOutputParam
(
response
.
body
().
toString
()
);
}
}
else
{
renshejuHistoryDO
.
setOutputParam
(
RenSheJuConstant
.
API_ERROR
);
...
...
src/main/resources/mapper/CourseContentMapper.xml
View file @
f09aa19
...
...
@@ -58,7 +58,7 @@
SELECT
t.id,
t.vod_url,
cvm.
vod_alias_name,
ifnull(cvm.vod_alias_name,t.vod_name) as
vod_alias_name,
t.vod_type,
t.vod_length,
cvm.order_no as or1,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment