mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
MP:增加 unionid
This commit is contained in:
parent
0b91603652
commit
c9b3cf9ed4
@ -21,6 +21,9 @@ public class MpUserPageReqVO extends PageParam {
|
|||||||
@Schema(description = "公众号粉丝标识,模糊匹配", example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
|
@Schema(description = "公众号粉丝标识,模糊匹配", example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
|
||||||
private String openid;
|
private String openid;
|
||||||
|
|
||||||
|
@Schema(description = "微信生态唯一标识,模糊匹配", example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
|
||||||
|
private String unionId;
|
||||||
|
|
||||||
@Schema(description = "公众号粉丝昵称,模糊匹配", example = "芋艿")
|
@Schema(description = "公众号粉丝昵称,模糊匹配", example = "芋艿")
|
||||||
private String nickname;
|
private String nickname;
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.util.Date;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Schema(description = "管理后台 - 公众号粉丝 Response VO")
|
@Schema(description = "管理后台 - 公众号粉丝 Response VO")
|
||||||
@ -17,6 +16,9 @@ public class MpUserRespVO {
|
|||||||
@Schema(description = "公众号粉丝标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
|
@Schema(description = "公众号粉丝标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
|
||||||
private String openid;
|
private String openid;
|
||||||
|
|
||||||
|
@Schema(description = "微信生态唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
|
||||||
|
private String unionId;
|
||||||
|
|
||||||
@Schema(description = "关注状态 参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@Schema(description = "关注状态 参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||||
private Integer subscribeStatus;
|
private Integer subscribeStatus;
|
||||||
@Schema(description = "关注时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "关注时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@ -29,6 +29,7 @@ public interface MpUserConvert {
|
|||||||
|
|
||||||
@Mappings(value = {
|
@Mappings(value = {
|
||||||
@Mapping(source = "openId", target = "openid"),
|
@Mapping(source = "openId", target = "openid"),
|
||||||
|
@Mapping(source = "unionId", target = "unionId"),
|
||||||
@Mapping(source = "headImgUrl", target = "headImageUrl"),
|
@Mapping(source = "headImgUrl", target = "headImageUrl"),
|
||||||
@Mapping(target = "subscribeTime", ignore = true), // 单独转换
|
@Mapping(target = "subscribeTime", ignore = true), // 单独转换
|
||||||
})
|
})
|
||||||
|
@ -38,6 +38,10 @@ public class MpUserDO extends BaseDO {
|
|||||||
* 粉丝标识
|
* 粉丝标识
|
||||||
*/
|
*/
|
||||||
private String openid;
|
private String openid;
|
||||||
|
/**
|
||||||
|
* 微信生态唯一标识
|
||||||
|
*/
|
||||||
|
private String unionId;
|
||||||
/**
|
/**
|
||||||
* 关注状态
|
* 关注状态
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user