Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
ms-data-circulation-portal-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
db833a1e
authored
2025-10-29 19:09:23 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、下载文件流
1 parent
79439541
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/DataPortServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/DataPortServiceImpl.java
View file @
db833a1
...
...
@@ -121,8 +121,8 @@ public class DataPortServiceImpl implements DataPortService {
throw
new
CsbrSystemException
(
SystemError
.
DATA_GET_ERROR
,
respJson
.
getString
(
"message"
));
}
}
else
{
MultipartFile
multipartFil
e
=
new
MockMultipartFile
(
"测试.png"
,
"测试,png"
,
"application/octet-stream"
,
resource
.
getByteArray
());
String
url
=
(
String
)
daopCommonFeign
.
uploadImage
(
multipartFil
e
).
getData
();
MultipartFile
imag
e
=
new
MockMultipartFile
(
"测试.png"
,
"测试,png"
,
"application/octet-stream"
,
resource
.
getByteArray
());
String
url
=
(
String
)
daopCommonFeign
.
uploadImage
(
imag
e
).
getData
();
log
.
info
(
"======url======, {}"
,
url
);
System
.
out
.
println
(
url
);
}
...
...
Write
Preview
Styling with
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