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
1d50ee22
Commit
1d50ee22
authored
Sep 02, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6b3b4bef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CostApi4kController.java
...blt/other/module/cost/controller/CostApi4kController.java
+4
-4
No files found.
cost-service/src/main/java/com/blt/other/module/cost/controller/CostApi4k.java
→
cost-service/src/main/java/com/blt/other/module/cost/controller/CostApi4k
Controller
.java
View file @
1d50ee22
...
...
@@ -26,7 +26,7 @@ import java.util.Map;
@Api
(
tags
=
"4k api"
)
@RestController
@RequestMapping
(
"/cost/api/4k"
)
public
class
CostApi4k
{
public
class
CostApi4k
Controller
{
@Resource
private
RestTemplate
restTemplate
;
...
...
@@ -65,8 +65,8 @@ public class CostApi4k {
}
@PostMapping
(
"/finansys/detail"
)
public
FinansysDetailDto
getCostFinansysDetailDto
(
HttpServletResponse
response
,
HttpServletRequest
request
){
ResponseEntity
<
FinansysDetailDto
>
responseEntity
=
restTemplate
.
postForEntity
(
BASE_URL
+
"/cost/finansys/detail"
,
request
,
FinansysDetailDto
.
class
);
return
response
Entity
.
getBody
()
;
public
FinansysDetailDto
getCostFinansysDetailDto
(
String
code
){
FinansysDetailDto
response
=
restTemplate
.
postForObject
(
BASE_URL
+
"/cost/finansys/detail?code="
+
code
,
"{}"
,
FinansysDetailDto
.
class
);
return
response
;
}
}
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