Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0a2d38f2
authored
Apr 01, 2019
by
zhangchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.添加日志
parent
be99983b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
src/main/java/com/ctrip/fun/golf/service/payment/CommuneNotifyService.java
src/main/java/com/ctrip/fun/golf/service/payment/CommuneNotifyService.java
View file @
0a2d38f2
...
...
@@ -5,6 +5,8 @@ package com.ctrip.fun.golf.service.payment;
import
java.util.List
;
import
java.util.Map
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.CollectionUtils
;
...
...
@@ -43,9 +45,11 @@ public class CommuneNotifyService extends AbstractNotifyService {
@Autowired
private
UserExtDao
userExtDao
;
private
static
Logger
logger
=
LoggerFactory
.
getLogger
(
CommuneNotifyService
.
class
);
public
String
notifyForMiniApp
(
String
xml
)
throws
Exception
{
Map
<
String
,
Object
>
notifyMap
=
WXUtil
.
doXMLParse
(
xml
);
...
...
@@ -85,6 +89,7 @@ public class CommuneNotifyService extends AbstractNotifyService {
public
String
notifyForVoucherMiniApp
(
String
xml
)
throws
Exception
{
System
.
out
.
print
(
xml
);
logger
.
debug
(
xml
);
Map
<
String
,
Object
>
notifyMap
=
WXUtil
.
doXMLParse
(
xml
);
if
(
notifyMap
.
get
(
"return_code"
).
equals
(
"SUCCESS"
)){
...
...
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