Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Administrator
/
kmr-h5-java
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
78e06b0a
authored
2017-11-30 10:57:26 +0800
by
ja
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
ffd78d5e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
kmr_dp_HDP/src/main/java/com/example/controller/ImgInfoController.java
kmr_dp_HDP/src/main/java/com/example/controller/ImgInfoController.java
View file @
78e06b0
...
...
@@ -49,7 +49,7 @@ public class ImgInfoController {
imgInfo
.
setGtmcUid
(
map
.
get
(
"gtmc_uid"
).
toString
());
imgInfo
.
setGtmcDepartment
(
map
.
get
(
"gtmc_department"
).
toString
());
imgInfo
.
setGtmcName
(
map
.
get
(
"gtmc_name"
).
toString
());
FileUploadInfo
info
=
new
DefaultFileUpload
().
upload
(
"/
Users/JA/Documents/
img"
,
file
);
FileUploadInfo
info
=
new
DefaultFileUpload
().
upload
(
"/
data/home/app/4Q0i/u
img"
,
file
);
String
url
=
info
.
getUrl
();
imgInfo
.
setImgUrl
(
url
);
boolean
b
=
this
.
imgInfoService
.
create
(
imgInfo
);
...
...
Please
register
or
sign in
to post a comment