七牛云资源域名-@ReplaceAppDomain

This commit is contained in:
khalil
2023-11-29 15:03:03 +08:00
parent 65344de94c
commit 8b37736c03
165 changed files with 543 additions and 450 deletions

View File

@@ -1,6 +1,6 @@
package com.accompany.admin.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -12,7 +12,7 @@ public class AdminUser implements ReplaceDomainInterface {
private String password;
@ReplaceDomain
@ReplaceAppDomain
private String headimg;
private String email;

View File

@@ -1,7 +1,7 @@
package com.accompany.admin.model;
import com.accompany.business.vo.UserPurseVo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -28,7 +28,7 @@ public class UserCancelRecord implements ReplaceDomainInterface {
private String signture;
@ReplaceDomain
@ReplaceAppDomain
private String userVoice;
private Integer voiceDura;
@@ -49,7 +49,7 @@ public class UserCancelRecord implements ReplaceDomainInterface {
private Byte gender;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String region;

View File

@@ -1,6 +1,6 @@
package com.accompany.admin.model.game;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.io.Serializable;
@@ -30,19 +30,19 @@ public class GameInfo implements Serializable, ReplaceDomainInterface {
/**
* 游戏图标(IM/多人房使用)
*/
@ReplaceDomain
@ReplaceAppDomain
private String gamePicture;
/**
* 游戏图标
*/
@ReplaceDomain
@ReplaceAppDomain
private String gameIcon;
/**
* 标签图标
*/
@ReplaceDomain
@ReplaceAppDomain
private String tagIcon;
/**

View File

@@ -1,6 +1,6 @@
package com.accompany.admin.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -15,12 +15,12 @@ public class BannerAdminVo implements ReplaceDomainInterface {
private String bannerName;
@ReplaceDomain
@ReplaceAppDomain
private String bannerPic;
private Byte skipType;
@ReplaceDomain(type = 2)
@ReplaceAppDomain
private String skipUri;
private Integer seqNo;

View File

@@ -1,7 +1,7 @@
package com.accompany.admin.vo;
import com.accompany.common.annotation.FieldComment;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.core.vo.BaseVo;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

View File

@@ -1,6 +1,6 @@
package com.accompany.admin.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -13,7 +13,7 @@ public class RoomUnchangeVo implements ReplaceDomainInterface {
private long uid;
private long erbanNo;
private String title;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;

View File

@@ -1,6 +1,6 @@
package com.accompany.admin.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -15,7 +15,7 @@ public class UserDrawProdAdminVo implements ReplaceDomainInterface {
private Long prodValue;
@ReplaceDomain
@ReplaceAppDomain
private String prodImage;
private String prodDesc;

View File

@@ -1,7 +1,7 @@
package com.accompany.admin.vo;
import com.accompany.business.model.UserImpeachRecord;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -55,7 +55,7 @@ public class UserImpeachRecordAdminVo extends UserImpeachRecord implements Repla
*/
private String handleResultDesc;
@ReplaceDomain
@ReplaceAppDomain
private String imgUrl;
private String sourceCn;

View File

@@ -1,6 +1,6 @@
package com.accompany.admin.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -23,7 +23,7 @@ public class WorldAdminVo implements ReplaceDomainInterface {
/**
* 头像 必填具体尺寸限制按UI稿
*/
@ReplaceDomain
@ReplaceAppDomain
private String icon;
/**

View File

@@ -1,6 +1,6 @@
package com.accompany.admin.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -48,13 +48,13 @@ public class WorldTypeAdminVo implements ReplaceDomainInterface {
/**
* 图片
*/
@ReplaceDomain
@ReplaceAppDomain
private String pict;
/**
* 客户端展示标签
*/
@ReplaceDomain
@ReplaceAppDomain
private String tagPic;
/**

View File

@@ -1,6 +1,6 @@
package com.accompany.core.dto;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.accompany.core.model.RoomGame;
@@ -17,7 +17,7 @@ public class RoomNetEaseDto implements ReplaceDomainInterface {
private String roomTag;
@ReplaceDomain
@ReplaceAppDomain
private String badge;
private String title;
@@ -38,12 +38,12 @@ public class RoomNetEaseDto implements ReplaceDomainInterface {
private Byte operatorStatus;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String roomDesc;
@ReplaceDomain
@ReplaceAppDomain
private String backPic;
private Byte isPermitRoom;

View File

@@ -1,6 +1,6 @@
package com.accompany.core.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -16,22 +16,22 @@ public class NobleUsers implements ReplaceDomainInterface {
private Integer badgeId;
@ReplaceDomain
@ReplaceAppDomain
private String badge;
private Integer cardbgId;
@ReplaceDomain
@ReplaceAppDomain
private String cardbg;
private Integer zonebgId;
@ReplaceDomain
@ReplaceAppDomain
private String zonebg;
private Integer roomBackgroundId;
@ReplaceDomain
@ReplaceAppDomain
private String roomBackground;
private Integer micDecorateId;

View File

@@ -1,6 +1,6 @@
package com.accompany.core.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -14,12 +14,12 @@ public class Room implements ReplaceDomainInterface {
private Integer tagId;
@ReplaceDomain
@ReplaceAppDomain
private String tagPict;
private String roomTag;
@ReplaceDomain
@ReplaceAppDomain
private String badge;
private String meetingName;
@@ -42,12 +42,12 @@ public class Room implements ReplaceDomainInterface {
private Byte operatorStatus;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String roomDesc;
@ReplaceDomain
@ReplaceAppDomain
private String backPic;
private Date openTime;

View File

@@ -1,6 +1,6 @@
package com.accompany.core.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -26,7 +26,7 @@ public class Users implements ReplaceDomainInterface {
private String signture;
@ReplaceDomain(type = 1)
@ReplaceAppDomain
private String userVoice;
private Integer voiceDura;
@@ -49,7 +49,7 @@ public class Users implements ReplaceDomainInterface {
private Byte gender;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String region;

View File

@@ -1,6 +1,6 @@
package com.accompany.core.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -8,7 +8,7 @@ import java.util.Date;
public class PrivatePhotoVo implements Comparable<PrivatePhotoVo>, ReplaceDomainInterface {
private Long pid;
@ReplaceDomain
@ReplaceAppDomain
private String photoUrl;
private Integer seqNo;
private Date createTime;

View File

@@ -1,13 +1,13 @@
package com.accompany.core.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class SplashVo implements ReplaceDomainInterface {
@ReplaceDomain
@ReplaceAppDomain
private String pict;
@ReplaceDomain(type = 2)
@ReplaceAppDomain
private String link;
private Integer type;

View File

@@ -1,14 +1,14 @@
package com.accompany.core.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class UserLevelVo implements ReplaceDomainInterface {
private Long experAmount;
private Long charmAmount;
@ReplaceDomain
@ReplaceAppDomain
private String experUrl;
@ReplaceDomain
@ReplaceAppDomain
private String charmUrl;
private String experLevelName;
private String charmLevelName;

View File

@@ -1,6 +1,6 @@
package com.accompany.core.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.accompany.core.model.NobleUsers;
import com.accompany.core.vo.audiocard.UserAudioCardVo;
@@ -36,7 +36,7 @@ public class UserVo implements ReplaceDomainInterface {
private String signture;
@ReplaceDomain
@ReplaceAppDomain
private String userVoice;
private Integer voiceDura;
@@ -47,7 +47,7 @@ public class UserVo implements ReplaceDomainInterface {
private Byte gender;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String region;
@@ -73,6 +73,7 @@ public class UserVo implements ReplaceDomainInterface {
private CarportVo carport;
@ReplaceAppDomain
private String nameplatePic;
private String nameplateWord;
@@ -164,6 +165,7 @@ public class UserVo implements ReplaceDomainInterface {
@ApiModelProperty(value = "是否在审核中")
private Boolean isReview = false;
@ApiModelProperty(value = "在审核中的新头像")
@ReplaceAppDomain
private String newAvatar;
/**

View File

@@ -1,6 +1,6 @@
package com.accompany.core.vo.car;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -10,13 +10,13 @@ public class CarportVo implements Comparable<CarportVo>, ReplaceDomainInterface
private Long uid;
private Integer id;
private String name;
@ReplaceDomain
@ReplaceAppDomain
private String pic; // 预览图
@ReplaceDomain
@ReplaceAppDomain
private String effect; // 动效
private Byte otherViewType; // 其他视图文件类型 0无 1.MP4
@ReplaceDomain
@ReplaceAppDomain
private String viewUrl; //视图文件地址
private Long price; // 正常购买
@@ -32,7 +32,7 @@ public class CarportVo implements Comparable<CarportVo>, ReplaceDomainInterface
private Byte labelType; //限定类型类型
private String limitDesc; //限定描述
private Long originalPrice; //原价
@ReplaceDomain(type = 2)
@ReplaceAppDomain
private String redirectLink; //链接
private Boolean goldSale;//是否支持金币购买

View File

@@ -1,7 +1,7 @@
package com.accompany.core.vo.headwear;
import com.alibaba.fastjson.JSON;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.math.BigDecimal;
@@ -30,10 +30,10 @@ public class UserHeadwearVo implements Comparable<UserHeadwearVo>, ReplaceDomain
private Byte status;
@ReplaceDomain
@ReplaceAppDomain
private String pic;
@ReplaceDomain
@ReplaceAppDomain
private String effect;
private BigDecimal price;

View File

@@ -1,6 +1,6 @@
package com.accompany.core.vo.live;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.io.Serializable;
@@ -29,7 +29,7 @@ public class LiveSkillVo implements Serializable , ReplaceDomainInterface {
/**
* 技能图片
*/
@ReplaceDomain
@ReplaceAppDomain
private String skillPicture;
/**

View File

@@ -1,6 +1,6 @@
package com.accompany.core.vo.live;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.io.Serializable;
@@ -14,7 +14,7 @@ import java.util.List;
public class LiveUserInfoSkillVo implements Serializable, ReplaceDomainInterface {
private boolean liveTag;
private String liveSkillName;
@ReplaceDomain
@ReplaceAppDomain
private String skillTag;
private List<LiveSkillVo> liveSkillVoList;

View File

@@ -1,7 +1,7 @@
package com.accompany.core.vo.user;
import com.accompany.core.model.NobleUsers;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.accompany.core.vo.UserLevelVo;
import io.swagger.annotations.ApiModel;
@@ -28,7 +28,7 @@ public class SearchVo implements ReplaceDomainInterface {
private Boolean valid;
//房间头像图
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
//性别

View File

@@ -0,0 +1,16 @@
package com.accompany.common.annotation;
import com.accompany.common.serialize.ReplaceAppDomainSerialize;
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.lang.annotation.*;
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@JacksonAnnotationsInside
@JsonSerialize(using = ReplaceAppDomainSerialize.class)
public @interface ReplaceAppDomain {
}

View File

@@ -8,10 +8,10 @@ package com.accompany.common.constant;
*/
public enum AppEnum {
pekoEnterprise("pekoEnterprise", "peko企业包"),
peko("peko", "peko"),
youmi("youmi", "peko ios马甲包"),
hiyoo("hiyoo", "peko google马甲包"),
peko("peko", "peko", "img.pekolive.com"),
pekoEnterprise("pekoEnterprise", "peko企业包", "img.pekolive.com"),
youmi("youmi", "peko ios马甲包", "image.hfighting.com"),
hiyoo("hiyoo", "peko google马甲包", "img.hiyoo.fun"),
;
public static AppEnum getCurApp(){
@@ -22,9 +22,12 @@ public enum AppEnum {
private String desc;
AppEnum(String value, String desc) {
private String resourceDomain;
AppEnum(String value, String desc, String resourceDomain) {
this.value = value;
this.desc = desc;
this.resourceDomain = resourceDomain;
}
public String getValue() {
@@ -35,4 +38,7 @@ public enum AppEnum {
return desc;
}
public String getResourceDomain() {
return resourceDomain;
}
}

View File

@@ -2675,24 +2675,15 @@ public class Constant {
public static final Byte invalid = 0; // 无效
}
public static String DEFAULT_DOMAIN = "https://img.pekolive.com";
public static String DEFAULT_NICK = "平臺新人";
public static String DEFAULT_HEAD = "https://img.pekolive.com/default_avatar.png";
public static String DEFAULT_HEAD_NEW = "https://img.pekolive.com/default_avatar.png";
public static String DEFAULT_CAR = "https://img.erbanyy.com/default_car.png";
public static String DEFAULT_LOGO = "https://img.erbanyy.com/logo.png";
public static String MASK_USER_IMG = "https://img.erbanyy.com/maskUser.png";
public static String DEFAULT_AVATAR = DEFAULT_DOMAIN + "/default_avatar.png";
public static String DEFAULT_CAR = DEFAULT_DOMAIN + "/default_car.png";
public static String DEFAULT_LOGO = DEFAULT_DOMAIN + "/logo.png";
public static String MASK_USER_IMG = DEFAULT_DOMAIN + "/maskUser.png";
//新秀之星角标
public static String NEW_SHOW_STAR = "https://img.erbanyy.com/new_star.png";
public static String OLD_DEFAULT_HEAD_1 = "https://img.erbanyy.com/tutu_default_avatar.png";
public static String OLD_DEFAULT_HEAD_2 = "https://img.erbanyy.com/FsAUM98tFPpL4ip4kJHsJrH5hNnv?imageslim";
/**
* 用户等级区间
*/
public static class LevelRange {
}
public static String OLD_DEFAULT_HEAD_1 = DEFAULT_DOMAIN + "/tutu_default_avatar.png";
public static String OLD_DEFAULT_HEAD_2 = DEFAULT_DOMAIN + "/FsAUM98tFPpL4ip4kJHsJrH5hNnv?imageslim";
/**
* 车库中车的状态

View File

@@ -0,0 +1,78 @@
package com.accompany.common.serialize;
import java.net.MalformedURLException;
import java.net.URL;
import com.accompany.common.constant.AppEnum;
import com.accompany.common.device.DeviceInfo;
import com.accompany.common.utils.EnvComponent;
import com.accompany.core.base.DeviceInfoContextHolder;
import com.accompany.core.base.SpringContextHolder;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import java.io.IOException;
@Slf4j
public class ReplaceAppDomainSerialize extends JsonSerializer<String> {
//todo 动态
private final String EXCLUDE_HOST_List = "image.hiyoo.fun";
@SneakyThrows
@Override
public void serialize(String str, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
if (StringUtils.isEmpty(str)){
jsonGenerator.writeNull();
return;
}
if (SpringContextHolder.getBean(EnvComponent.class).getDevOrNativeEnv()){
jsonGenerator.writeString(str);
return;
}
String host = getHostName(str);
if (str.equals(host) || EXCLUDE_HOST_List.equals(host)){
jsonGenerator.writeString(str);
return;
}
DeviceInfo deviceInfo = DeviceInfoContextHolder.get();
if (StringUtils.isBlank(deviceInfo.getApp())){
jsonGenerator.writeString(str);
return;
}
try {
AppEnum appEnum = AppEnum.valueOf(deviceInfo.getApp());
if (appEnum.getResourceDomain().equals(host)){
jsonGenerator.writeString(str);
return;
}
String newUrl = str.replace(host, appEnum.getResourceDomain());
jsonGenerator.writeString(newUrl);
}catch (IllegalArgumentException e){
jsonGenerator.writeString(str);
}
}
public static String getHostName(String urlStr) {
try {
URL url = new URL(urlStr);
return url.getHost(); // 获取主机名
} catch (MalformedURLException e) {
log.error("获取域名失败 {}", urlStr, e);
}
return urlStr;
}
}

View File

@@ -10,7 +10,7 @@
*/
package com.accompany.business.dto;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import lombok.Data;
@@ -55,9 +55,9 @@ public class SingleBroadcastCacheDto implements ReplaceDomainInterface {
/**
* 头像
*/
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
@ReplaceDomain
@ReplaceAppDomain
private String tagPict;
/**
* 是否置顶0-否1-是

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -10,7 +10,7 @@ public class ActOnlineSensationRecord implements ReplaceDomainInterface {
private String tag;
@ReplaceDomain
@ReplaceAppDomain
private String soundUrl;
private Date createTime;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -29,7 +29,7 @@ public class ActYearRedPacketRecord implements ReplaceDomainInterface {
/**
*奖品图片url
*/
@ReplaceDomain
@ReplaceAppDomain
private String prizePicUrl;
/**
*获取类别

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -12,7 +12,7 @@ public class ActivityAward implements ReplaceDomainInterface {
private String prizeName;
@ReplaceDomain
@ReplaceAppDomain
private String prizeImgUrl;
private Integer referenceId;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -12,10 +12,10 @@ public class CarGoods implements ReplaceDomainInterface {
private String name;
@ReplaceDomain
@ReplaceAppDomain
private String pic;
@ReplaceDomain
@ReplaceAppDomain
private String effect;
/**
@@ -26,7 +26,7 @@ public class CarGoods implements ReplaceDomainInterface {
/**
* 视图文件地址
*/
@ReplaceDomain(type = 2)
@ReplaceAppDomain
private String viewUrl;
private Long price;
@@ -59,7 +59,7 @@ public class CarGoods implements ReplaceDomainInterface {
private Long originalPrice;
@ReplaceDomain(type = 1)
@ReplaceAppDomain
private String redirectLink;
private Boolean goldSale;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -19,14 +19,14 @@ public class ChargeActivityVo implements ReplaceDomainInterface {
private Integer seqNo;
@ReplaceDomain
@ReplaceAppDomain
private String alertWinPic;
private String imageType;
private Byte skipType;
@ReplaceDomain(type = 2)
@ReplaceAppDomain
private String skipUrl;
private Date startTime;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -18,7 +18,7 @@ public class DrawLotteryRecord implements ReplaceDomainInterface {
private String prizeName;
@ReplaceDomain
@ReplaceAppDomain
private String prizeImgUrl;
private Integer referenceId;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -10,7 +10,7 @@ public class Family implements ReplaceDomainInterface {
private String name;
@ReplaceDomain
@ReplaceAppDomain
private String icon;
private String leader;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -16,7 +16,7 @@ public class FamilyGroupChat implements ReplaceDomainInterface {
private Long familyId;
@ReplaceDomain
@ReplaceAppDomain
private String icon;
private String notice;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -24,12 +24,12 @@ public class Gift implements ReplaceDomainInterface {
private Byte giftStatus;
@ReplaceDomain
@ReplaceAppDomain
private String picUrl;
private Boolean hasGifPic;
@ReplaceDomain
@ReplaceAppDomain
private String gifUrl;
private Boolean hasVggPic;
@@ -44,7 +44,7 @@ public class Gift implements ReplaceDomainInterface {
private Boolean hasSvga;
@ReplaceDomain
@ReplaceAppDomain
private String vggUrl;
private Boolean isLatest;
@@ -71,13 +71,13 @@ public class Gift implements ReplaceDomainInterface {
private Boolean roomExclude;
@ReplaceDomain
@ReplaceAppDomain
private String luckyGiftSvgaUrl;
/**
* 礼物说明url
*/
@ReplaceDomain
@ReplaceAppDomain
private String giftExplainUrl;
/**
@@ -88,7 +88,7 @@ public class Gift implements ReplaceDomainInterface {
/**
* 视图文件地址
*/
@ReplaceDomain
@ReplaceAppDomain
private String viewUrl;
/**

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -14,13 +14,13 @@ public class GiftMagic implements ReplaceDomainInterface {
private Integer impactValue;
@ReplaceDomain
@ReplaceAppDomain
private String magicIcon;
@ReplaceDomain
@ReplaceAppDomain
private String magicSvgUrl;
@ReplaceDomain
@ReplaceAppDomain
private String effectSvgUrl;
private Integer effectRate;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -16,7 +16,7 @@ public class HallGroupChat implements ReplaceDomainInterface {
private String name;
@ReplaceDomain
@ReplaceAppDomain
private String icon;
private String notice;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -18,10 +18,10 @@ public class LevelCharm implements ReplaceDomainInterface {
private Long need;
@ReplaceDomain
@ReplaceAppDomain
private String url;
@ReplaceDomain
@ReplaceAppDomain
private String url1;
private Byte status;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -18,10 +18,10 @@ public class LevelExperience implements ReplaceDomainInterface {
private Long need;
@ReplaceDomain
@ReplaceAppDomain
private String url;
@ReplaceDomain
@ReplaceAppDomain
private String url1;
private Byte status;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -14,10 +14,10 @@ public class NobleRes implements ReplaceDomainInterface {
private String name;
@ReplaceDomain
@ReplaceAppDomain
private String value;
@ReplaceDomain
@ReplaceAppDomain
private String preview;
private Byte status;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -8,7 +8,7 @@ import java.util.Date;
public class NobleZip implements ReplaceDomainInterface {
private Integer id;
@ReplaceDomain
@ReplaceAppDomain
private String zipUrl;
private Integer version;
@@ -17,7 +17,7 @@ public class NobleZip implements ReplaceDomainInterface {
private Date createTime;
@ReplaceDomain
@ReplaceAppDomain
private String resConf;
public Integer getId() {

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -12,7 +12,7 @@ public class OperationAct implements ReplaceDomainInterface {
private String actDesc;
@ReplaceDomain
@ReplaceAppDomain
private String actImage;
private Date createTime;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -12,7 +12,7 @@ public class Prize implements ReplaceDomainInterface {
private String prizeName;
@ReplaceDomain
@ReplaceAppDomain
private String prizeImgUrl;
private Integer referenceId;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -10,7 +10,7 @@ public class RoomTag implements ReplaceDomainInterface {
private String name;
@ReplaceDomain
@ReplaceAppDomain
private String pict;
private Integer seq;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class TopLine implements ReplaceDomainInterface {
@@ -10,7 +10,7 @@ public class TopLine implements ReplaceDomainInterface {
private Byte type;
@ReplaceDomain
@ReplaceAppDomain
private String img;
private Byte paramType;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -10,12 +10,12 @@ public class UserDoll implements ReplaceDomainInterface {
private Byte sex;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String nick;
@ReplaceDomain(type = 1)
@ReplaceAppDomain
private String voice;
private Integer bed;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -16,7 +16,7 @@ public class UserGiftWall implements ReplaceDomainInterface {
private String giftName;
@ReplaceDomain
@ReplaceAppDomain
private String picUrl;
public Long getGiftPrice() {

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -8,7 +8,7 @@ import java.util.Date;
public class UserMagicWall extends UserMagicWallKey implements ReplaceDomainInterface {
private String magicName;
@ReplaceDomain
@ReplaceAppDomain
private String magicIcon;
private Integer amount;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
@@ -40,7 +40,7 @@ public class UserNameplate implements Serializable {
private Integer type;
@ReplaceDomain
@ReplaceAppDomain
private String nameplateImage; // 用户铭牌图片地址
}

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -20,7 +20,7 @@ public class UserVoice implements ReplaceDomainInterface {
private Integer gender;
@ReplaceDomain
@ReplaceAppDomain
private String voiceUrl;
private Integer voiceLength;

View File

@@ -1,12 +1,12 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class WeekStar implements ReplaceDomainInterface {
private Long erbanNo;
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private long totalCount;
private int seqNo;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model.anchor;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -27,7 +27,7 @@ public class AnchorFansPrivilegeConfig {
private Long activeId; // 特权id积极
private String description; // 特权描述
private Byte type; // 特权类型
@ReplaceDomain
@ReplaceAppDomain
private String icon; // 图标
private Byte status; // 状态
private Date createTime;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model.anchor;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -26,6 +26,6 @@ public class AnchorFansTask {
private Integer totalNum; // 每日奖励总额
private Integer onceVal; // 单次值
private Integer limitNum; // 限制次数
@ReplaceDomain
@ReplaceAppDomain
private String icon; // 图标
}

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model.anchor;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -24,11 +24,11 @@ public class AnchorFansTeamMpPic {
private Long teamId;
private Integer privilegeId;
private Integer levelSeq;
@ReplaceDomain
@ReplaceAppDomain
private String fansMpPic; // 基础粉丝团铭牌图片
@ReplaceDomain
@ReplaceAppDomain
private String negativeMpPic; // 粉丝团铭牌图片(消极)
@ReplaceDomain
@ReplaceAppDomain
private String activeMpPic; // 粉丝团铭牌图片(炫酷)
private Date createTime;
private Date updateTime;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model.live;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.io.Serializable;
@@ -34,7 +34,7 @@ public class LiveSkillTypeVo implements Serializable, ReplaceDomainInterface {
/**
* 小技能图片
*/
@ReplaceDomain
@ReplaceAppDomain
private String skillPicture;
private Integer applyStatus;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.model.miniGame;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -41,7 +41,7 @@ public class MiniGame implements Serializable, ReplaceDomainInterface {
/**
* 图片
*/
@ReplaceDomain
@ReplaceAppDomain
private String pic;
/**
* 是否展示

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -15,14 +15,14 @@ public class ActVo implements ReplaceDomainInterface {
private Boolean alertWin;
@ReplaceDomain
@ReplaceAppDomain
private String alertWinPic;
private Byte alertWinLoc;
private Byte skipType;
@ReplaceDomain(type = 2)
@ReplaceAppDomain
private String skipUrl;
private String actAlertVersion;

View File

@@ -1,7 +1,7 @@
package com.accompany.business.vo;
import com.accompany.business.model.ActWish;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -12,7 +12,7 @@ public class ActWishVo extends ActWish implements ReplaceDomainInterface {
private Long likeCount;//点赞总数
private Long erbanNo;
private Long rank;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String nick;
private Byte gender;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import lombok.Data;
@@ -22,7 +22,7 @@ public class AppVersionVo implements ReplaceDomainInterface {
private String updateVersionDesc;
@ReplaceDomain
@ReplaceAppDomain
private String updateDownloadLink;
private String updateFileMd5;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.accompany.core.vo.UserLevelVo;
@@ -18,7 +18,7 @@ public class ApprenticeVo implements ReplaceDomainInterface {
/**
* 用户头像
*/
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
/**

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -12,10 +12,10 @@ public class BannerVo implements Comparable<BannerVo>, ReplaceDomainInterface {
private Integer bannerId;
private String bannerName;
@ReplaceDomain
@ReplaceAppDomain
private String bannerPic;
private Byte skipType;
@ReplaceDomain(type = 2)
@ReplaceAppDomain
private String skipUri;
private Byte displayType;
private Integer seqNo;

View File

@@ -1,7 +1,7 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -12,7 +12,7 @@ public class BatchSendGiftUserVo implements ReplaceDomainInterface {
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
public Long getUid() {

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.List;
@@ -10,7 +10,7 @@ import java.util.List;
*/
public class BatchSendGiftVo implements ReplaceDomainInterface {
private Long uid;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String nick;
private List<BatchSendGiftUserVo> targetUsers;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -23,7 +23,7 @@ public class DiamondGiveHistoryVo {
@ApiModelProperty("对方用户信息")
private String targetNick;
@ApiModelProperty("对方用户信息")
@ReplaceDomain
@ReplaceAppDomain
private String targetAvatar;
@@ -48,7 +48,7 @@ public class DiamondGiveHistoryVo {
@ApiModelProperty("转赠礼物总价值")
private Long totalGiftGoldNum;
@ApiModelProperty("礼物图片")
@ReplaceDomain
@ReplaceAppDomain
private String giftUrl;
@ApiModelProperty("礼物名称")
private String giftName;

View File

@@ -1,7 +1,7 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -33,10 +33,10 @@ public class DiscoveryMissionVo implements ReplaceDomainInterface {
private Long routerValue;
@ReplaceDomain
@ReplaceAppDomain
private String prizeIcon;
@ReplaceDomain
@ReplaceAppDomain
private String prizePic;
private String tips;
@@ -45,7 +45,7 @@ public class DiscoveryMissionVo implements ReplaceDomainInterface {
private String prizeStr;
@ReplaceDomain
@ReplaceAppDomain
private String stepPic;
public Integer getConfigId() {

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -14,12 +14,12 @@ public class DollILikedVo implements ReplaceDomainInterface {
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private Integer rankNum;
@ReplaceDomain(type = 1)
@ReplaceAppDomain
private String voice;
private Byte sex;

View File

@@ -1,26 +1,26 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
public class ExpendRecordVo implements Comparable<ExpendRecordVo>, ReplaceDomainInterface {
@ReplaceDomain
@ReplaceAppDomain
private String userAvatar;
private String userNick;
private Long money;
@ReplaceDomain
@ReplaceAppDomain
private String targetAvatar;
private String giftName;
private String targetNick;
@ReplaceDomain
@ReplaceAppDomain
private String giftPic;
private Integer giftNum;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.List;
@@ -15,12 +15,12 @@ public class FaceVo implements ReplaceDomainInterface {
private Integer faceParentId;
@ReplaceDomain
@ReplaceAppDomain
private String facePicUrl;
private Boolean hasGifUrl;
@ReplaceDomain
@ReplaceAppDomain
private String faceGifUrl;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.accompany.core.vo.UserLevelVo;
@@ -29,7 +29,7 @@ public class FamilyGroupChatMemberVo implements ReplaceDomainInterface {
private Date createTime;
private Long erbanNo;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String nick;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -19,7 +19,7 @@ public class FamilyGroupChatVo implements ReplaceDomainInterface {
private Long familyId;
@ReplaceDomain
@ReplaceAppDomain
private String icon;
private String notice;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -11,7 +11,7 @@ import com.accompany.common.utils.ReplaceDomainInterface;
public class FirstPageRoomVo implements ReplaceDomainInterface {
private Long uid;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private Long roomId;
@@ -20,15 +20,15 @@ public class FirstPageRoomVo implements ReplaceDomainInterface {
private Integer tagId;
@ReplaceDomain
@ReplaceAppDomain
private String tagPict;
private Integer onlineNum;
@ReplaceDomain
@ReplaceAppDomain
private String icon;
@ReplaceDomain
@ReplaceAppDomain
private String badge;
private String description;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.accompany.core.model.NobleUsers;
import com.accompany.core.vo.UserLevelVo;
@@ -20,7 +20,7 @@ public class FirstPageUserVo implements Comparable<FirstPageUserVo>, ReplaceDoma
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private NobleUsers nobleUsers;

View File

@@ -1,17 +1,17 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
public class GainRecordVo implements Comparable<GainRecordVo>, ReplaceDomainInterface {
@ReplaceDomain
@ReplaceAppDomain
private String userAvatar;
private String userNick;
@ReplaceDomain
@ReplaceAppDomain
private String targetAvatar;
private Long money;
@@ -42,7 +42,7 @@ public class GainRecordVo implements Comparable<GainRecordVo>, ReplaceDomainInte
private Double diamondNum;
@ReplaceDomain
@ReplaceAppDomain
private String giftPic;
private Integer giftNum;

View File

@@ -1,7 +1,7 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -12,7 +12,7 @@ public class GiftMagicBatchSendUserVo implements ReplaceDomainInterface {
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
public Long getUid() {

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -11,7 +11,7 @@ import java.util.List;
*/
public class GiftSendVo implements ReplaceDomainInterface {
private Long uid;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String nick;
@@ -19,7 +19,7 @@ public class GiftSendVo implements ReplaceDomainInterface {
private List<Long> targetUids;//全麦送使用
@ReplaceDomain
@ReplaceAppDomain
private String targetAvatar;
private String targetNick;

View File

@@ -1,7 +1,7 @@
package com.accompany.business.vo;
import com.accompany.core.vo.vip.VipBaseInfoVO;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.google.common.collect.Lists;
@@ -15,7 +15,7 @@ public class GiftVo implements Comparable<GiftVo>, ReplaceDomainInterface {
private Integer giftId;
private String giftName;
private Long goldPrice;
@ReplaceDomain
@ReplaceAppDomain
private String giftUrl;
private Integer nobleId;
private String nobleName;
@@ -23,11 +23,11 @@ public class GiftVo implements Comparable<GiftVo>, ReplaceDomainInterface {
private Integer seqNo;
private Boolean hasGifPic;
private Byte giftType;
@ReplaceDomain
@ReplaceAppDomain
private String gifUrl;
private Boolean hasVggPic;//是否有vgg动画
@ReplaceDomain
@ReplaceAppDomain
private String vggUrl;//vgg动画链接
private Boolean hasLatest;//是否是最新礼物
@@ -35,7 +35,7 @@ public class GiftVo implements Comparable<GiftVo>, ReplaceDomainInterface {
private Boolean hasTimeLimit;//是否是限时礼物
private Boolean hasEffect;//是否有特效
@ReplaceDomain
@ReplaceAppDomain
private String luckyGiftSvgaUrl;
private Boolean hasSvga;//是否有svga
@@ -43,7 +43,7 @@ public class GiftVo implements Comparable<GiftVo>, ReplaceDomainInterface {
/**
* 礼物说明url
*/
@ReplaceDomain
@ReplaceAppDomain
private String giftExplainUrl;
/**
@@ -54,7 +54,7 @@ public class GiftVo implements Comparable<GiftVo>, ReplaceDomainInterface {
/**
* 视图文件地址
*/
@ReplaceDomain
@ReplaceAppDomain
private String viewUrl;
public Byte getOtherViewType() {

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class HallIncomeDetailVo implements ReplaceDomainInterface {
@@ -10,7 +10,7 @@ public class HallIncomeDetailVo implements ReplaceDomainInterface {
private Long goldPrice;
@ReplaceDomain
@ReplaceAppDomain
private String picUrl;
private Integer giftNum;

View File

@@ -1,13 +1,13 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class HallIncomeVo implements ReplaceDomainInterface {
private Integer rowNum;
private Long reciveUid;
private Long totalGoldNum;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String nick;
private String erbanNo;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class HallMemberAuthVo implements ReplaceDomainInterface {
@@ -8,15 +8,15 @@ public class HallMemberAuthVo implements ReplaceDomainInterface {
private String name;
@ReplaceDomain(type = 2)
@ReplaceAppDomain
private String url;
private String description;
@ReplaceDomain
@ReplaceAppDomain
private String minImage;
@ReplaceDomain
@ReplaceAppDomain
private String maxImage;
private Byte sort;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.constant.Constant;
import com.accompany.common.utils.ReplaceDomainInterface;
@@ -14,7 +14,7 @@ public class HomeV4RoomVo implements ReplaceDomainInterface {
private Integer seqNo;
private boolean isRoomData;
private Integer showType;
@ReplaceDomain
@ReplaceAppDomain
private String picture;
public HomeV4RoomVo(Object data, String title, Integer type, Integer maxNum, Integer seqNo,Integer listNum, boolean isRoomData) {

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -21,7 +21,7 @@ public class KTVListRoomVo implements ReplaceDomainInterface {
/**
* 房间头像图
*/
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
/**
* 房间名称

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -11,7 +11,7 @@ public class MicroSeqV2Vo implements Comparable<MicroSeqV2Vo>, ReplaceDomainInte
private Integer seqNo;
private int status;
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
public int getStatus() {

View File

@@ -1,13 +1,13 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
* Created by PaperCut on 2018/4/23.
*/
public class ModelVo implements ReplaceDomainInterface {
@ReplaceDomain
@ReplaceAppDomain
private String icon;
private Object data;
private String title;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -25,12 +25,12 @@ public class MusicLibraryVo implements ReplaceDomainInterface {
/**
* 地址
*/
@ReplaceDomain(type = 1)
@ReplaceAppDomain
private String musicUrl;
/**
* 封面
*/
@ReplaceDomain
@ReplaceAppDomain
private String cover;
/**
* 时长,单位为秒

View File

@@ -13,7 +13,7 @@
*/
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -35,7 +35,7 @@ public class MusicVo implements ReplaceDomainInterface {
private String album;//专辑
@ReplaceDomain(type = 1)
@ReplaceAppDomain
private String localUri;//MP3地址

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import lombok.Data;
@@ -12,7 +12,7 @@ import lombok.Data;
@Data
public class RankMineVo implements ReplaceDomainInterface {
private Long erbanNo;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String nick;
private Byte gender;
@@ -24,12 +24,12 @@ public class RankMineVo implements ReplaceDomainInterface {
/** 用户经验等级 **/
private Integer experSeq;
/** 用户经验等级角标 **/
@ReplaceDomain
@ReplaceAppDomain
private String experUrl;
/** 用户魅力等级 **/
private Integer charmSeq;
/** 用户魅力等级角标 **/
@ReplaceDomain
@ReplaceAppDomain
private String charmUrl;
private String roomTitle;
private Long uid;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.DateTimeUtil;
import com.accompany.common.utils.ReplaceDomainInterface;
@@ -12,7 +12,7 @@ import java.util.Date;
public class RankVo implements ReplaceDomainInterface {
private Long uid;
private Long erbanNo;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String nick;
private Byte gender;
@@ -22,10 +22,10 @@ public class RankVo implements ReplaceDomainInterface {
private Byte rankHide;
private Boolean hasPrettyNo;
private Integer experSeq; // 用户经验等级
@ReplaceDomain
@ReplaceAppDomain
private String experUrl; // 用户经验等级角标
private Integer charmSeq; // 用户魅力等级
@ReplaceDomain
@ReplaceAppDomain
private String charmUrl; // 用户魅力等级角标
private String rankDay; //某个时间维度,可为天月年
private String updateTime; //更新时间

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -8,7 +8,7 @@ import com.accompany.common.utils.ReplaceDomainInterface;
*/
public class ReceiveTotalResponseVo implements ReplaceDomainInterface {
private String prizeName;//奖励名称
@ReplaceDomain
@ReplaceAppDomain
private String prizePic;//奖品图
private Integer num;//奖励数量
private String prizeDays;//奖励天数

View File

@@ -1,14 +1,14 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class RewardNoticeVo implements Comparable<RewardNoticeVo>, ReplaceDomainInterface {
private Long signRewardConfigId;
private String signRewardName;
private Integer signDays;
@ReplaceDomain
@ReplaceAppDomain
private String icon;
private Integer isReceive=0;//0代表未领取,1代表领取,默认未领取
private Boolean canReplenishSign;//是否可以补签

View File

@@ -4,7 +4,7 @@ package com.accompany.business.vo;
import com.accompany.business.vo.box.BoxSwitchVo;
import com.accompany.business.vo.findlove.FindLoveDrawSwitchVo;
import com.accompany.business.vo.treasure.SeizeTreasureSwitchConfig;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.alibaba.fastjson.JSON;
import io.swagger.annotations.ApiModelProperty;
@@ -32,12 +32,12 @@ public class RoomVo implements Comparable<RoomVo>, ReplaceDomainInterface {
private Byte operatorStatus;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String roomDesc;
@ReplaceDomain
@ReplaceAppDomain
private String backPic;
private Date openTime;
@@ -66,12 +66,12 @@ public class RoomVo implements Comparable<RoomVo>, ReplaceDomainInterface {
private Integer tagId;
@ReplaceDomain
@ReplaceAppDomain
private String tagPict;
private Long recomSeq;
@ReplaceDomain
@ReplaceAppDomain
private String badge;
private Byte isPermitRoom;
@@ -105,7 +105,7 @@ public class RoomVo implements Comparable<RoomVo>, ReplaceDomainInterface {
private Integer topicRoomSeqNo;//话题房间表序号
@ReplaceDomain
@ReplaceAppDomain
private String skillTag;//101认证技能小图标
//纯净模式

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.List;
@@ -14,10 +14,10 @@ public class SendGiftVo implements ReplaceDomainInterface {
private Long targetUid;
private List<Long> targetUids;//全麦发礼物收礼物uids
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private String targetNick;
@ReplaceDomain
@ReplaceAppDomain
private String targetAvatar;
public void setTargetNick(String targetNick) {

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Map;
@@ -11,7 +11,7 @@ import java.util.Map;
public class StatPacketActRankVo implements ReplaceDomainInterface {
private Long uid;
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private int seqNo;
private double packetNum;

View File

@@ -1,7 +1,7 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import com.accompany.core.model.NobleUsers;
import com.accompany.core.vo.UserLevelVo;
@@ -9,7 +9,7 @@ import com.accompany.core.vo.UserLevelVo;
public class StatRoomCtrbSumVo implements ReplaceDomainInterface {
private Long uid;//房主UID
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private Byte gender;
private Long ctrbUid;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class StatSendGiftSumListVo implements Comparable<StatSendGiftSumListVo>, ReplaceDomainInterface {
@@ -12,7 +12,7 @@ public class StatSendGiftSumListVo implements Comparable<StatSendGiftSumListVo>,
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private Byte gender;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class StatSendGiftWeekListVo implements Comparable<StatSendGiftWeekListVo>, ReplaceDomainInterface {
@@ -12,7 +12,7 @@ public class StatSendGiftWeekListVo implements Comparable<StatSendGiftWeekListVo
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private Byte gender;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class SumListVo implements ReplaceDomainInterface {
@@ -16,7 +16,7 @@ public class SumListVo implements ReplaceDomainInterface {
private String nick;
@ReplaceDomain
@ReplaceAppDomain
private String avatar;
private Byte gender;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
public class TopLineClientVO implements ReplaceDomainInterface {
@@ -12,12 +12,12 @@ public class TopLineClientVO implements ReplaceDomainInterface {
private String title;
@ReplaceDomain
@ReplaceAppDomain
private String img;
private Integer paramType;
@ReplaceDomain
@ReplaceAppDomain
private String param;
private Long time;

View File

@@ -1,6 +1,6 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceDomain;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
/**
@@ -29,7 +29,7 @@ public class UserBackpackVo implements ReplaceDomainInterface {
/**
*礼物图片
*/
@ReplaceDomain
@ReplaceAppDomain
private String giftUrl;
/**
* 贵族id
@@ -58,7 +58,7 @@ public class UserBackpackVo implements ReplaceDomainInterface {
/**
* gif图片
*/
@ReplaceDomain
@ReplaceAppDomain
private String gifUrl;
/**
* 是否有vgg动画
@@ -67,7 +67,7 @@ public class UserBackpackVo implements ReplaceDomainInterface {
/**
* vgg动画链接
*/
@ReplaceDomain
@ReplaceAppDomain
private String vggUrl;
/**
* 是否是最新礼物
@@ -103,7 +103,7 @@ public class UserBackpackVo implements ReplaceDomainInterface {
/**
* 礼物说明url
*/
@ReplaceDomain
@ReplaceAppDomain
private String giftExplainUrl;
/**
@@ -114,7 +114,7 @@ public class UserBackpackVo implements ReplaceDomainInterface {
/**
* 视图文件地址
*/
@ReplaceDomain
@ReplaceAppDomain
private String viewUrl;
public Byte getOtherViewType() {

Some files were not shown because too many files have changed in this diff Show More