Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
c76fea50
Commit
c76fea50
authored
Jul 15, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
1988b1c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
UploadController.java
.../xxfc/platform/universal/controller/UploadController.java
+2
-1
No files found.
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/controller/UploadController.java
View file @
c76fea50
...
@@ -101,12 +101,13 @@ public class UploadController{
...
@@ -101,12 +101,13 @@ public class UploadController{
//以下是图片上传的方法
//以下是图片上传的方法
@RequestMapping
(
value
=
"/app/unauth/ueditor"
)
@RequestMapping
(
value
=
"/app/unauth/ueditor"
)
@ResponseBody
public
String
ueditor
(
HttpServletRequest
request
)
{
public
String
ueditor
(
HttpServletRequest
request
)
{
return
PublicMsg
.
UEDITOR_CONFIG
;
return
PublicMsg
.
UEDITOR_CONFIG
;
}
}
@RequestMapping
(
value
=
"/app/unauth/
imgUpload
"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/app/unauth/
ueditor
"
,
method
=
RequestMethod
.
POST
)
public
Ueditor
imgUpload
(
MultipartFile
upfile
)
throws
Exception
{
public
Ueditor
imgUpload
(
MultipartFile
upfile
)
throws
Exception
{
Ueditor
ueditor
=
new
Ueditor
();
Ueditor
ueditor
=
new
Ueditor
();
ueditor
.
setUrl
(
uploadService
.
uploadFile
(
upfile
,
"admin"
));
ueditor
.
setUrl
(
uploadService
.
uploadFile
(
upfile
,
"admin"
));
...
...
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