Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jenkins
order-group
Commits
1f44bb62
Commit
1f44bb62
authored
Feb 19, 2020
by
shuhu.hou
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20200205_券码核销改造'
parents
71162c72
0fc64eb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
order-application-service/src/main/java/cn/freemud/service/impl/CouponActivityServiceImpl.java
+1
-1
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/CouponActivityServiceImpl.java
View file @
1f44bb62
...
@@ -131,7 +131,7 @@ public class CouponActivityServiceImpl implements CouponActivityService {
...
@@ -131,7 +131,7 @@ public class CouponActivityServiceImpl implements CouponActivityService {
try
{
try
{
//移除卡包失败,邮件报警
//移除卡包失败,邮件报警
com
.
freemud
.
application
.
sdk
.
api
.
base
.
BaseResponse
baseResponse
=
offlineCouponSdkService
.
callbackNotify
(
couponCode
,
orderCode
,
partnerId
,
""
);
com
.
freemud
.
application
.
sdk
.
api
.
base
.
BaseResponse
baseResponse
=
offlineCouponSdkService
.
callbackNotify
(
couponCode
,
orderCode
,
partnerId
,
""
);
if
(!
Objects
.
equals
(
baseResponse
.
get
Status
Code
(),
ResponseResult
.
SUCCESS
.
getCode
()))
{
if
(!
Objects
.
equals
(
baseResponse
.
getCode
(),
ResponseResult
.
SUCCESS
.
getCode
()))
{
emailAlertService
.
sendEmailAlert
(
"券码移除卡包失败"
,
String
.
format
(
"request:%s \r\nresponse:%s"
,
"券码号:"
+
couponCode
+
"订单号:"
+
orderCode
,
JSONObject
.
toJSONString
(
baseResponse
)));
emailAlertService
.
sendEmailAlert
(
"券码移除卡包失败"
,
String
.
format
(
"request:%s \r\nresponse:%s"
,
"券码号:"
+
couponCode
+
"订单号:"
+
orderCode
,
JSONObject
.
toJSONString
(
baseResponse
)));
return
ResponseUtil
.
error
(
ResponseResult
.
COUPON_CALLBACK_FAIL
);
return
ResponseUtil
.
error
(
ResponseResult
.
COUPON_CALLBACK_FAIL
);
}
}
...
...
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