Commit 1f44bb62 by shuhu.hou

Merge branch 'feature/20200205_券码核销改造'

parents 71162c72 0fc64eb0
...@@ -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.getStatusCode(), 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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment