@@ -31,6 +31,6 @@ public class SuperVipDto extends VipPayHistoryPo implements Serializable {
@ApiModelProperty("套餐到期时间")
private Date endTime;
- @ApiModelProperty("过期套餐标记,-1不是会员,0过期,1未过期")
+ @ApiModelProperty("过期套餐标记,0未买过,-1过期,1有效/无过期时间接口0不是会员,1是")
private Integer vipFlag;
}
@@ -268,6 +268,7 @@ public class ClubServiceImpl implements ClubService {
//加入超级会员信息
SuperVipDto vipDto = new SuperVipDto();
SuperVipPo vip = vipMapper.findSuperVip(userId);
+// 0未买过,-1过期,1有效
if (vip == null) {
vipDto.setVipFlag(0);
}else {
@@ -1007,7 +1007,7 @@ public class RegisterServiceImpl implements RegisterService {
/**
- * 超级会员支付采美豆买会员
+ * 支付采美豆买会员
*
* @param vipDto
* @param beginTime
@@ -68,7 +68,7 @@ public class SellerServiceImpl implements SellerService {
if (vip != null) {
club.setVipFlag(1);
- club.setVipFlag(-1);
+ club.setVipFlag(0);
PageInfo<ClubVo> pageData = new PageInfo<>(clubList);