记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
ae5cd106
Commit
ae5cd106
authored
Dec 16, 2021
by
zhengfuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件, 和修改退款小bug
parent
974548d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
liquidnet-service-dragon-dev.yml
...-config/liquidnet-config/liquidnet-service-dragon-dev.yml
+1
-1
DragonOrderRefundsServiceImpl.java
...ce/dragon/service/impl/DragonOrderRefundsServiceImpl.java
+10
-4
No files found.
liquidnet-bus-config/liquidnet-config/liquidnet-service-dragon-dev.yml
View file @
ae5cd106
...
...
@@ -39,6 +39,6 @@ liquidnet:
gateway-url
:
https://gateway.95516.com
refund-url
:
https://gateway.95516.com/
certs-path
:
/data/certs/dragon/unionpay/test
certs-prefix
:
acp_
prod
certs-prefix
:
acp_
test
pfx-pwd
:
'
520360'
liquidnet-bus-service/liquidnet-service-dragon/liquidnet-service-dragon-impl/src/main/java/com/liquidnet/service/dragon/service/impl/DragonOrderRefundsServiceImpl.java
View file @
ae5cd106
...
...
@@ -40,6 +40,7 @@ import org.springframework.data.redis.core.StringRedisTemplate;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.LinkedMultiValueMap
;
import
org.springframework.util.MultiValueMap
;
import
springfox.documentation.spring.web.json.Json
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -326,7 +327,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
error
(
"
"
);
log
.
error
(
"
异常信息"
,
e
);
channelDto
.
setResult
(
"exception"
);
channelDto
.
setMessage
(
"update order refund with db error: "
+
e
.
getMessage
());
contentDto
.
setRequest
(
JSON
.
toJSONString
(
reqData
));
...
...
@@ -376,10 +377,15 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
log
.
error
(
"银联退款,未获取到返回报文或返回http状态码非200"
);
return
null
;
}
return
null
;
channelDto
.
setResult
(
"refunded"
);
channelDto
.
setMessage
(
paymentType
+
" refund info: "
);
contentDto
.
setRequest
(
JSON
.
toJSONString
(
reqData
));
contentDto
.
setResponse
(
JSON
.
toJSONString
(
rspData
));
channelDto
.
setContent
(
contentDto
);
return
channelDto
;
}
catch
(
Exception
e
){
e
.
printStackTrace
();
log
.
error
(
"
"
);
log
.
error
(
"
异常信息"
,
e
);
return
null
;
}
}
...
...
@@ -761,7 +767,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
dto
.
setRefundAt
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
format
(
LocalDateTime
.
now
()));
// 应答信息
dto
.
setRefundError
(
notifyMap
.
get
(
"respMsg"
));
log
.
info
(
"SEND
WEPAY
NOTIFTURL = "
+
JSON
.
toJSONString
(
dto
));
log
.
info
(
"SEND
union
NOTIFTURL = "
+
JSON
.
toJSONString
(
dto
));
sendNotifyUrl
(
dto
,
null
);
mqHandleUtil
.
sendMySqlRedis
(
SqlMapping
.
get
(
"dragon_order_refund_log.insert"
),
...
...
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