Commit 29a0018a authored by 张永's avatar 张永

加分类

parent bd6a4c8c
...@@ -44,6 +44,8 @@ public class AliyunApiController { ...@@ -44,6 +44,8 @@ public class AliyunApiController {
@Value("${aliyun.video.templateGroupId}") @Value("${aliyun.video.templateGroupId}")
private String templateGroupId; private String templateGroupId;
@Value("${aliyun.video.cateID}")
private String cateID;
@Autowired @Autowired
private Messages messages; private Messages messages;
...@@ -60,7 +62,7 @@ public class AliyunApiController { ...@@ -60,7 +62,7 @@ public class AliyunApiController {
public Object createUploadVideo(HttpServletRequest request) { public Object createUploadVideo(HttpServletRequest request) {
String fileName = request.getParameter("fileName"); String fileName = request.getParameter("fileName");
String title = request.getParameter("title"); String title = request.getParameter("title");
String cateId = request.getParameter("cateId"); //String cateId = request.getParameter("cateId");
String tags = request.getParameter("tags"); String tags = request.getParameter("tags");
String description = request.getParameter("description"); String description = request.getParameter("description");
...@@ -73,7 +75,7 @@ public class AliyunApiController { ...@@ -73,7 +75,7 @@ public class AliyunApiController {
Map<String,Object> params = new HashMap<String,Object>(); Map<String,Object> params = new HashMap<String,Object>();
params.put("fileName", fileName); params.put("fileName", fileName);
params.put("title", title); params.put("title", title);
params.put("cateId", cateId); params.put("cateId", cateID);
params.put("tags", tags); params.put("tags", tags);
params.put("description", description); params.put("description", description);
params.put("templateGroupId", templateGroupId); params.put("templateGroupId", templateGroupId);
......
...@@ -38,4 +38,5 @@ aliyun.sts.accessKeyId=LTAIOtHCCpDLXYp8 ...@@ -38,4 +38,5 @@ aliyun.sts.accessKeyId=LTAIOtHCCpDLXYp8
aliyun.sts.accessKeySecret=9XTHW7P9TTRvCsBHBSclOue2tdWOoa aliyun.sts.accessKeySecret=9XTHW7P9TTRvCsBHBSclOue2tdWOoa
#\u89C6\u9891\u8F6C\u7801ID #\u89C6\u9891\u8F6C\u7801ID
aliyun.video.templateGroupId=d9f4a79cba14ce4cbc98d6516d35bf37 aliyun.video.templateGroupId=d9f4a79cba14ce4cbc98d6516d35bf37
aliyun.video.cateID=1000018494
opt.project.type=1 opt.project.type=1
\ No newline at end of file
...@@ -37,4 +37,5 @@ aliyun.sts.accessKeyId=LTAIOtHCCpDLXYp8 ...@@ -37,4 +37,5 @@ aliyun.sts.accessKeyId=LTAIOtHCCpDLXYp8
aliyun.sts.accessKeySecret=9XTHW7P9TTRvCsBHBSclOue2tdWOoa aliyun.sts.accessKeySecret=9XTHW7P9TTRvCsBHBSclOue2tdWOoa
#\u89C6\u9891\u8F6C\u7801ID #\u89C6\u9891\u8F6C\u7801ID
aliyun.video.templateGroupId=d9f4a79cba14ce4cbc98d6516d35bf37 aliyun.video.templateGroupId=d9f4a79cba14ce4cbc98d6516d35bf37
aliyun.video.cateID=1000018494
opt.project.type=1 opt.project.type=1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment