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

Commit 8add8fbc authored by zhoujianping's avatar zhoujianping

1。订单详情增加默认手机号

parent ffbdc6a2
...@@ -32,4 +32,8 @@ public class PayDetailVo implements Serializable { ...@@ -32,4 +32,8 @@ public class PayDetailVo implements Serializable {
@ApiModelProperty(value = "观演人数量") @ApiModelProperty(value = "观演人数量")
private Integer viewersNumber; private Integer viewersNumber;
@ApiModelProperty(value = "联系方式")
private String userMobile;
} }
...@@ -508,6 +508,10 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService { ...@@ -508,6 +508,10 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
// 设置票观演人数量 // 设置票观演人数量
payDetailVo.setViewersNumber(getViewersNumberByTicketsId(ticketsId)); payDetailVo.setViewersNumber(getViewersNumberByTicketsId(ticketsId));
//设置默认手机号
Map token = CurrentUtil.getTokenClaims();
payDetailVo.setUserMobile(StringUtils.defaultString(((String) token.get("mobile")), ""));
log.info(UserPathDto.setData("预支付演出票种详情", "performancesId=" + performancesId + " ticketsId=" + ticketsId, payDetailVo)); log.info(UserPathDto.setData("预支付演出票种详情", "performancesId=" + performancesId + " ticketsId=" + ticketsId, payDetailVo));
return payDetailVo; return payDetailVo;
} }
......
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