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

Commit 9fbd95ff authored by jiangxiulong's avatar jiangxiulong

中奖详情增加活动快递方式

parent aee26e99
......@@ -76,6 +76,9 @@ public class IntegralActivityDrawVo implements Serializable, Cloneable {
@JsonFormat(shape=JsonFormat.Shape.STRING, pattern= DateUtil.DATE_FULL_STR)
private LocalDateTime updatedAt;
@ApiModelProperty(value = "快递费用类型 1包邮 2到付")
private Integer expressFeeType;
private static final IntegralActivityDrawVo obj = new IntegralActivityDrawVo();
public static IntegralActivityDrawVo getNew() {
try {
......
......@@ -274,6 +274,8 @@ public class SweetIntegralActivityDrawServiceImpl extends ServiceImpl<SweetInteg
@Override
public ResponseDto<IntegralActivityDrawVo> detail(String drawId) {
IntegralActivityDrawVo drawVo = redisDataUtils.getIntegralActivityDrawInfo(drawId);
IntegralActivityVo integralActivityInfo = redisDataUtils.getIntegralActivityInfo(drawVo.getIntegralActivityId());
drawVo.setExpressFeeType(integralActivityInfo.getExpressFeeType());
return ResponseDto.success(drawVo);
}
......
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