Commit 738787c2 authored by 赵啸非's avatar 赵啸非

添加门户license验证接口

parent 07f84149
...@@ -97,6 +97,7 @@ public class CipherController { ...@@ -97,6 +97,7 @@ public class CipherController {
String jsonStr = ""; String jsonStr = "";
try { try {
String targetFilePath = uploadService.saveFileUpload(file, prePath, null); String targetFilePath = uploadService.saveFileUpload(file, prePath, null);
targetFilePath=uploadService.getFilePath(targetFilePath);
String suffix = FileUtil.getSuffix(file.getOriginalFilename()); String suffix = FileUtil.getSuffix(file.getOriginalFilename());
if (!"zip".equalsIgnoreCase(suffix)) { if (!"zip".equalsIgnoreCase(suffix)) {
throw new AppException("文件格式不正确,请上传zip格式的文件!"); throw new AppException("文件格式不正确,请上传zip格式的文件!");
......
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