记得上下班打卡 | git大法好,push需谨慎

Commit 335b61e3 authored by 胡佳晨's avatar 胡佳晨

修改 领券文案。

修改 订单详情拦截。
parent dd420dc8
......@@ -107,7 +107,8 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
@Override
public ResponseDto<GoblinAppOrderDetailsVo> orderDetails(String orderId, String uid) {
GoblinStoreOrderVo orderVo = redisUtils.getGoblinOrder(orderId);
if (!orderVo.getUserId().equals(uid) && uid != null) {
if (orderVo == null || (!orderVo.getUserId().equals(uid) && uid != null)) {
return ResponseDto.failure(ErrorMapping.get("20003"));
}
GoblinAppOrderDetailsVo vo = GoblinAppOrderDetailsVo.getNew();
......
......@@ -13,7 +13,7 @@
140050=该活动优惠券不存在
140051=非活动时间不允许领取
140052=该活动优惠券为限量领取
140053=该活动优惠券被抢
140053=该活动优惠券被抢
140054=该活动优惠券已被使用
......
......@@ -675,7 +675,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
ResponseDto<GoblinPayInnerResultVo> dto = JsonUtils.fromJson(returnData, new TypeReference<ResponseDto<GoblinPayInnerResultVo>>() {
});
payInnerResultVo.setCode(dto.getData().getCode());
payInnerResultVo.setOrderCode(dto.getData().getOrderMasterCode());
payInnerResultVo.setOrderCode(storeOrderVo.getMasterOrderCode());
payInnerResultVo.setPayData(dto.getData().getPayData());
payInnerResultVo.setOrderId(storeOrderVo.getOrderId());
payInnerResultVo.setPayType(param.getPayType());
......
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