Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
Details
Activity
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
曲欣亮
sentinel
Commits
29a0018a
Commit
29a0018a
authored
Feb 14, 2019
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加分类
parent
bd6a4c8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
AliyunApiController.java
...main/java/com/egolm/film/api/web/AliyunApiController.java
+4
-2
application-dev.properties
src/main/resources/application-dev.properties
+1
-0
application-pro.properties
src/main/resources/application-pro.properties
+1
-0
No files found.
src/main/java/com/egolm/film/api/web/AliyunApiController.java
View file @
29a0018a
...
...
@@ -44,6 +44,8 @@ public class AliyunApiController {
@Value
(
"${aliyun.video.templateGroupId}"
)
private
String
templateGroupId
;
@Value
(
"${aliyun.video.cateID}"
)
private
String
cateID
;
@Autowired
private
Messages
messages
;
...
...
@@ -60,7 +62,7 @@ public class AliyunApiController {
public
Object
createUploadVideo
(
HttpServletRequest
request
)
{
String
fileName
=
request
.
getParameter
(
"fileName"
);
String
title
=
request
.
getParameter
(
"title"
);
String
cateId
=
request
.
getParameter
(
"cateId"
);
//
String cateId = request.getParameter("cateId");
String
tags
=
request
.
getParameter
(
"tags"
);
String
description
=
request
.
getParameter
(
"description"
);
...
...
@@ -73,7 +75,7 @@ public class AliyunApiController {
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"fileName"
,
fileName
);
params
.
put
(
"title"
,
title
);
params
.
put
(
"cateId"
,
cateI
d
);
params
.
put
(
"cateId"
,
cateI
D
);
params
.
put
(
"tags"
,
tags
);
params
.
put
(
"description"
,
description
);
params
.
put
(
"templateGroupId"
,
templateGroupId
);
...
...
src/main/resources/application-dev.properties
View file @
29a0018a
...
...
@@ -38,4 +38,5 @@ aliyun.sts.accessKeyId=LTAIOtHCCpDLXYp8
aliyun.sts.accessKeySecret
=
9XTHW7P9TTRvCsBHBSclOue2tdWOoa
#\u89C6\u9891\u8F6C\u7801ID
aliyun.video.templateGroupId
=
d9f4a79cba14ce4cbc98d6516d35bf37
aliyun.video.cateID
=
1000018494
opt.project.type
=
1
\ No newline at end of file
src/main/resources/application-pro.properties
View file @
29a0018a
...
...
@@ -37,4 +37,5 @@ aliyun.sts.accessKeyId=LTAIOtHCCpDLXYp8
aliyun.sts.accessKeySecret
=
9XTHW7P9TTRvCsBHBSclOue2tdWOoa
#\u89C6\u9891\u8F6C\u7801ID
aliyun.video.templateGroupId
=
d9f4a79cba14ce4cbc98d6516d35bf37
aliyun.video.cateID
=
1000018494
opt.project.type
=
1
\ 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