9 changed files with 235 additions and 25 deletions
@ -0,0 +1,104 @@ |
|||||
|
package com.bnyer.file.constants; |
||||
|
|
||||
|
public class RedisKeyConstant { |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 抖音小程序用户收藏图片键 |
||||
|
*/ |
||||
|
public static final String TIKTOK_USER_COLLECT_KEY = "bnyer.img.tiktok.collect:"; |
||||
|
|
||||
|
/** |
||||
|
* 抖音小程序图片收藏数量键 |
||||
|
*/ |
||||
|
public static final String TIKTOK_IMG_COLLECT_NUM_KEY = "bnyer.img.tiktok.collectNum"; |
||||
|
|
||||
|
/** |
||||
|
* 快手小程序图片收藏数量键 |
||||
|
*/ |
||||
|
public static final String FAST_HAND_IMG_COLLECT_NUM_KEY = "bnyer.img.fh.collectNum"; |
||||
|
|
||||
|
/** |
||||
|
* 微信小程序图片收藏数量键 |
||||
|
*/ |
||||
|
public static final String WECHAT_IMG_COLLECT_NUM_KEY = "bnyer.img.wx.collectNum"; |
||||
|
|
||||
|
/** |
||||
|
* 抖音小程序用户点赞图片键 |
||||
|
*/ |
||||
|
public static final String TIKTOK_USER_LIKE_KEY = "bnyer.img.tiktok.like"; |
||||
|
|
||||
|
/** |
||||
|
* 快手小程序用户点赞图片键 |
||||
|
*/ |
||||
|
public static final String FAST_HAND_USER_LIKE_KEY = "bnyer.img.fh.like"; |
||||
|
|
||||
|
/** |
||||
|
* 微信小程序用户点赞图片键 |
||||
|
*/ |
||||
|
public static final String WECHAT_USER_LIKE_KEY = "bnyer.img.wx.like"; |
||||
|
|
||||
|
/** |
||||
|
* 抖音小程序图片点赞数量键 |
||||
|
*/ |
||||
|
public static final String TIKTOK_IMG_LIKE_NUM_KEY = "bnyer.img.tiktok.likeNum"; |
||||
|
|
||||
|
/** |
||||
|
* 快手小程序图片点赞数量键 |
||||
|
*/ |
||||
|
public static final String FAST_HAND_IMG_LIKE_NUM_KEY = "bnyer.img.fh.likeNum"; |
||||
|
|
||||
|
/** |
||||
|
* 微信小程序图片点赞数量键 |
||||
|
*/ |
||||
|
public static final String WECHAT_IMG_LIKE_NUM_KEY = "bnyer.img.wx.likeNum"; |
||||
|
|
||||
|
/** |
||||
|
* 抖音小程序图片下载数量键 |
||||
|
*/ |
||||
|
public static final String TIKTOK_IMG_DOWNLOAD_NUM_KEY = "bnyer.img.creator.downloadNum:"; |
||||
|
|
||||
|
/** |
||||
|
* 抖音小程序图片下载总数量键 |
||||
|
*/ |
||||
|
public static final String TIKTOK_IMG_TOTAL_DOWNLOAD_NUM_KEY = "bnyer.img.date.downloadTotalNum:"; |
||||
|
|
||||
|
/** |
||||
|
* 抖音小程序用户登录键 |
||||
|
*/ |
||||
|
public static final String TIKTOK_USER_LOGIN_KEY = "bnyer.img.tiktok.user:"; |
||||
|
|
||||
|
/** |
||||
|
* 快手小程序用户登录键 |
||||
|
*/ |
||||
|
public static final String FH_USER_LOGIN_KEY = "bnyer.img.fh.user:"; |
||||
|
|
||||
|
/** |
||||
|
* 微信小程序用户登录键 |
||||
|
*/ |
||||
|
public static final String WECHAT_USER_LOGIN_KEY = "bnyer.img.wx.user:"; |
||||
|
|
||||
|
/** |
||||
|
* 微信小程序艺术家登录键 |
||||
|
*/ |
||||
|
public static final String WECHAT_CREATOR_LOGIN_KEY = "bnyer.img.wechat.creator:"; |
||||
|
|
||||
|
/** |
||||
|
* 微信小程序艺术家邀请键 |
||||
|
*/ |
||||
|
public static final String WECHAT_CREATOR_INVITE_KEY = "bnyer.img.invite.creator:"; |
||||
|
|
||||
|
/** |
||||
|
* 审核收益锁键 |
||||
|
*/ |
||||
|
public static final String VERIFY_PROFIT_LOCK_KEY = "bnyer.img.profit.lock:"; |
||||
|
|
||||
|
/** |
||||
|
* 平台用户下载键 |
||||
|
*/ |
||||
|
public static final String PLATFORM_USER_DOWNLOAD_KEY = "bnyer.img.user.download:"; |
||||
|
/** |
||||
|
* 艺术家上传键 |
||||
|
*/ |
||||
|
public static final String CREATOR_DOWNLOAD_KEY="bnyer.img.createor.download"; |
||||
|
} |
||||
@ -0,0 +1,27 @@ |
|||||
|
package com.bnyer.img.dto; |
||||
|
|
||||
|
import com.bnyer.common.core.annotation.Desensitized; |
||||
|
import com.bnyer.common.core.enums.SensitiveTypeEnum; |
||||
|
import com.bnyer.common.core.utils.Sm4Util; |
||||
|
import com.bnyer.common.core.utils.StringUtils; |
||||
|
import com.bnyer.img.domain.CreatorAccount; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Getter; |
||||
|
import lombok.Setter; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
|
||||
|
@Getter |
||||
|
@Setter |
||||
|
@ApiModel("艺术家下载次数接收类") |
||||
|
public class CreatorDownloadDto implements Serializable { |
||||
|
|
||||
|
@ApiModelProperty(value="艺术家id") |
||||
|
@NotBlank |
||||
|
private Long creatorId; |
||||
|
|
||||
|
|
||||
|
} |
||||
Loading…
Reference in new issue