Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
dqms
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
xuhuanchao
dqms
Commits
3de96700
Commit
3de96700
authored
Dec 06, 2022
by
PC-202210251227\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4a016fe8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
DqPersonelController.java
...a/io/hmit/modules/dq/controller/DqPersonelController.java
+0
-11
No files found.
hmit-admin/src/main/java/io/hmit/modules/dq/controller/DqPersonelController.java
View file @
3de96700
...
...
@@ -151,19 +151,8 @@ public class DqPersonelController {
return
new
Result
<
Map
<
String
,
Object
>>().
error
(
ErrorCode
.
UPLOAD_FILE_EMPTY
);
}
dqPersonelService
.
uploadSave
(
file
);
// //上传文件
// String extension = FilenameUtils.getExtension(file.getOriginalFilename());
// String url = OSSFactory.build().uploadSuffix(file.getBytes(), extension);
//
// //保存文件信息
// SysOssEntity ossEntity = new SysOssEntity();
// ossEntity.setUrl(url);
// ossEntity.setCreateDate(new Date());
// sysOssService.insert(ossEntity);
Map
<
String
,
Object
>
data
=
new
HashMap
<>(
1
);
data
.
put
(
"src"
,
"url"
);
return
new
Result
<
Map
<
String
,
Object
>>().
ok
(
data
);
}
...
...
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