Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-finance
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
base_platform_enterprise
gic-platform-finance
Commits
38b95da0
Commit
38b95da0
authored
Sep 10, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
转账审批回调函数修改
parent
2d33f521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
TransferAccountsApprovalApiServiceImpl.java
...ce/outer/impl/TransferAccountsApprovalApiServiceImpl.java
+13
-4
No files found.
gic-platform-finance-service/src/main/java/com/gic/finance/service/outer/impl/TransferAccountsApprovalApiServiceImpl.java
View file @
38b95da0
package
com
.
gic
.
finance
.
service
.
outer
.
impl
;
package
com
.
gic
.
finance
.
service
.
outer
.
impl
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.Date
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
...
@@ -229,11 +230,19 @@ public class TransferAccountsApprovalApiServiceImpl implements TransferAccountsA
...
@@ -229,11 +230,19 @@ public class TransferAccountsApprovalApiServiceImpl implements TransferAccountsA
private
void
callBack
(
TabTransferAccountsApproval
tab
)
{
private
void
callBack
(
TabTransferAccountsApproval
tab
)
{
LOGGER
.
info
(
"转账审批回调:{}"
,
JSONObject
.
toJSONString
(
tab
));
LOGGER
.
info
(
"转账审批回调:{}"
,
JSONObject
.
toJSONString
(
tab
));
int
orderType
=
tab
.
getOrderType
().
intValue
();
boolean
isBilling
=
orderType
==
OrderTypeEnum
.
RECHARGE
.
getCode
()
||
orderType
==
OrderTypeEnum
.
SHORT_MESSAGE_PACKAGE
.
getCode
();
String
interfaceUrl
=
tab
.
getCallbackInterface
();
String
interfaceUrl
;
String
method
=
tab
.
getCallbackMethod
();
String
method
;
if
(
StringUtils
.
isBlank
(
interfaceUrl
)
||
StringUtils
.
isBlank
(
method
))
{
if
(
isBilling
)
{
return
;
interfaceUrl
=
"com.gic.enterprise.service.BillingPayInfoApiService"
;
method
=
"offlineCallBack"
;
}
else
{
//服务类型
interfaceUrl
=
"com.gic.open.api.service.market.PayCallbackApiService"
;
method
=
"payCallbackTransfer"
;
}
}
RegistryConfig
registry
=
new
RegistryConfig
();
RegistryConfig
registry
=
new
RegistryConfig
();
...
...
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