Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
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
曲欣亮
shop
Commits
f88c2717
Commit
f88c2717
authored
Apr 23, 2023
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
网商回调
parent
92b31cb9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
PayNotifyController.java
src/main/java/com/egolm/shop/api/PayNotifyController.java
+3
-0
OrderService.java
src/main/java/com/egolm/shop/api/service/OrderService.java
+1
-1
OrderServiceImpl.java
...ava/com/egolm/shop/api/service/impl/OrderServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/shop/api/PayNotifyController.java
View file @
f88c2717
...
...
@@ -88,6 +88,9 @@ public class PayNotifyController {
@RequestMapping
(
value
=
"/mybankCallback"
,
method
=
RequestMethod
.
POST
)
public
Object
mybankCallback
(
@RequestBody
String
req
,
HttpServletResponse
resp
)
{
logger
.
info
(
"从egoPay中接收网商银行回调通知接口 {}"
,
req
);
List
<
Map
<
String
,
Object
>>
returnMap
=
orderService
.
myBankCallback
(
req
);
logger
.
info
(
"处理从egoPay中接收网商银行回调通知结果 {}"
,
GsonUtil
.
toJson
(
returnMap
));
return
"success"
;
}
...
...
src/main/java/com/egolm/shop/api/service/OrderService.java
View file @
f88c2717
...
...
@@ -50,5 +50,5 @@ public interface OrderService {
public
List
<
Map
<
String
,
Object
>>
mePayCallback
(
String
req
);
public
List
<
Map
<
String
,
Object
>>
m
e
BankCallback
(
String
req
);
public
List
<
Map
<
String
,
Object
>>
m
y
BankCallback
(
String
req
);
}
src/main/java/com/egolm/shop/api/service/impl/OrderServiceImpl.java
View file @
f88c2717
...
...
@@ -1200,7 +1200,7 @@ public class OrderServiceImpl implements OrderService {
}
// 网商银行回调
public
List
<
Map
<
String
,
Object
>>
m
e
BankCallback
(
String
req
)
{
public
List
<
Map
<
String
,
Object
>>
m
y
BankCallback
(
String
req
)
{
String
PayTypeID
=
"150"
;
// 网商银行
List
<
Map
<
String
,
Object
>>
returnMap
=
new
ArrayList
<
Map
<
String
,
Object
>>();
JSONObject
reqObj
=
JSONObject
.
parseObject
(
req
);
...
...
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