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
1a84b593
Commit
1a84b593
authored
Jan 28, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 更新
parent
e791b1d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
CostController.java
.../com/blt/other/module/cost/controller/CostController.java
+6
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/controller/CostController.java
View file @
1a84b593
...
@@ -22,6 +22,7 @@ import com.blt.other.module.cost.service.impl.costcheck.*;
...
@@ -22,6 +22,7 @@ import com.blt.other.module.cost.service.impl.costcheck.*;
import
com.blt.other.module.cost.vo.*
;
import
com.blt.other.module.cost.vo.*
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
@@ -287,6 +288,9 @@ public class CostController {
...
@@ -287,6 +288,9 @@ public class CostController {
return
result
;
return
result
;
}
}
@Value
(
"${spring.profiles.active}"
)
String
profile
;
@LoginIgnore
@LoginIgnore
@ApiOperation
(
"财务付款回调接口"
)
@ApiOperation
(
"财务付款回调接口"
)
@PostMapping
(
value
=
{
"check/CashierCallbackUrl"
,
"check/lend/CashierCallbackUrl"
})
@PostMapping
(
value
=
{
"check/CashierCallbackUrl"
,
"check/lend/CashierCallbackUrl"
})
...
@@ -298,7 +302,8 @@ public class CostController {
...
@@ -298,7 +302,8 @@ public class CostController {
result
.
put
(
"result"
,
true
);
result
.
put
(
"result"
,
true
);
String
costNo
=
cashierCallbackUrlVo
.
getId
().
toUpperCase
();
String
costNo
=
cashierCallbackUrlVo
.
getId
().
toUpperCase
();
if
(!(
costNo
.
startsWith
(
"F"
)
||
costNo
.
startsWith
(
"SF"
)))
{
if
((!(
costNo
.
startsWith
(
"F"
)
||
costNo
.
startsWith
(
"SF"
)))
&&
profile
.
equals
(
"prod"
))
{
return
result
;
return
result
;
}
}
if
(
costNo
.
contains
(
"-"
))
{
if
(
costNo
.
contains
(
"-"
))
{
...
...
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