Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-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
周健威
rs-cloud-platform
Commits
3383d084
Commit
3383d084
authored
Jan 05, 2021
by
unset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加通知信息
parent
e4bfbacf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
+20
-5
FeedbackInfoWebController.java
.../rs/website/controller/web/FeedbackInfoWebController.java
+20
-5
No files found.
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/web/FeedbackInfoWebController.java
View file @
3383d084
package
com
.
upyuns
.
platform
.
rs
.
website
.
controller
.
web
;
package
com
.
upyuns
.
platform
.
rs
.
website
.
controller
.
web
;
import
com.github.wxiaoqi.security.admin.feign.UserFeign
;
import
com.github.wxiaoqi.security.admin.feign.rest.UserRestInterface
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.rest.BaseController
;
import
com.github.wxiaoqi.security.common.rest.BaseController
;
import
com.upyuns.platform.rs.website.biz.FeedbackInfoBiz
;
import
com.upyuns.platform.rs.website.biz.FeedbackInfoBiz
;
import
com.upyuns.platform.rs.website.dto.FeedbackInfoDto
;
import
com.upyuns.platform.rs.website.entity.FeedbackInfo
;
import
com.upyuns.platform.rs.website.entity.FeedbackInfo
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RestController
@RequestMapping
(
"feedbackInfo/web"
)
@RequestMapping
(
"feedbackInfo/web"
)
public
class
FeedbackInfoWebController
extends
BaseController
<
FeedbackInfoBiz
,
FeedbackInfo
>
{
public
class
FeedbackInfoWebController
extends
BaseController
<
FeedbackInfoBiz
,
FeedbackInfo
>
implements
UserRestInterface
{
@Autowired
UserFeign
userFeign
;
@PostMapping
(
value
=
"addObj"
)
@PostMapping
(
value
=
"addObj"
)
public
ObjectRestResponse
addObj
(
@RequestBody
FeedbackInfo
feedbackInfo
)
{
public
ObjectRestResponse
addObj
(
@RequestBody
FeedbackInfo
feedbackInfo
)
{
return
baseBiz
.
addObj
(
feedbackInfo
);
return
baseBiz
.
addObj
(
feedbackInfo
);
}
}
@GetMapping
(
value
=
"getAll"
)
public
ObjectRestResponse
getAll
(
FeedbackInfoDto
feedbackInfoDto
)
{
feedbackInfoDto
.
setUserId
(
Integer
.
parseInt
(
getCurrentUserId
()));
return
baseBiz
.
getAll
(
feedbackInfoDto
);
}
@Override
public
UserFeign
getUserFeign
()
{
return
userFeign
;
}
}
}
\ No newline at end of file
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