Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
ade76f19
Commit
ade76f19
authored
Dec 21, 2020
by
zhiheng.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qa拍查问题日志
parent
c11b92c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
call-back-service/src/main/java/cn/freemud/controller/CallBackController.java
+4
-0
No files found.
call-back-service/src/main/java/cn/freemud/controller/CallBackController.java
View file @
ade76f19
...
...
@@ -17,6 +17,7 @@ import cn.freemud.entities.vo.OrderCallBackRequestVo;
import
cn.freemud.service.OrderCallBackService
;
import
com.freemud.application.sdk.api.log.ApiAnnotation
;
import
com.freemud.application.sdk.api.log.LogParams
;
import
lombok.extern.log4j.Log4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.PostMapping
;
...
...
@@ -28,6 +29,7 @@ import javax.validation.Valid;
@RestController
@RequestMapping
(
value
=
"/callback"
,
consumes
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
@Log4j
public
class
CallBackController
{
@Autowired
...
...
@@ -36,6 +38,8 @@ public class CallBackController {
@PostMapping
(
"/order"
)
@ApiAnnotation
(
logMessage
=
"/order"
)
public
BaseResponse
orderCallBackHandle
(
@Valid
@RequestBody
@LogParams
OrderCallBackRequestVo
requestVo
)
{
log
.
info
(
"in callback order ordercode:"
+
requestVo
.
getOrderCode
());
log
.
info
(
"callback order requestVo:"
+
requestVo
);
return
orderCallBackService
.
orderCallBackHandle
(
requestVo
);
}
...
...
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