Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-cost
Commits
6b3b4bef
Commit
6b3b4bef
authored
Sep 02, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c6e6e66e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
CostApi4k.java
.../java/com/blt/other/module/cost/controller/CostApi4k.java
+8
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/controller/CostApi4k.java
View file @
6b3b4bef
package
com
.
blt
.
other
.
module
.
cost
.
controller
;
import
com.blt.other.module.commons.dto.FinansysDetailDto
;
import
com.blt.other.module.cost.vo.ApplyCallbackUrlVo
;
import
com.blt.other.module.cost.vo.CashierCallbackUrlVo
;
import
io.swagger.annotations.Api
;
...
...
@@ -13,6 +14,7 @@ import org.springframework.web.client.RestTemplate;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.Map
;
/**
...
...
@@ -61,4 +63,10 @@ public class CostApi4k {
,
cashierCallbackUrlVo
,
Map
.
class
);
return
responseEntity
.
getBody
();
}
@PostMapping
(
"/finansys/detail"
)
public
FinansysDetailDto
getCostFinansysDetailDto
(
HttpServletResponse
response
,
HttpServletRequest
request
){
ResponseEntity
<
FinansysDetailDto
>
responseEntity
=
restTemplate
.
postForEntity
(
BASE_URL
+
"/cost/finansys/detail"
,
request
,
FinansysDetailDto
.
class
);
return
responseEntity
.
getBody
();
}
}
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