Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
6fd7bd29
Commit
6fd7bd29
authored
Jul 18, 2020
by
macro
Browse files
OssController注入改为接口
parent
19d17990
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/controller/OssController.java
View file @
6fd7bd29
...
...
@@ -4,6 +4,7 @@ package com.macro.mall.controller;
import
com.macro.mall.common.api.CommonResult
;
import
com.macro.mall.dto.OssCallbackResult
;
import
com.macro.mall.dto.OssPolicyResult
;
import
com.macro.mall.service.OssService
;
import
com.macro.mall.service.impl.OssServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -22,7 +23,7 @@ import javax.servlet.http.HttpServletRequest;
@RequestMapping
(
"/aliyun/oss"
)
public
class
OssController
{
@Autowired
private
OssService
Impl
ossService
;
private
OssService
ossService
;
@ApiOperation
(
value
=
"oss上传签名生成"
)
@RequestMapping
(
value
=
"/policy"
,
method
=
RequestMethod
.
GET
)
...
...
Write
Preview
Supports
Markdown
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