40 changed files with 798 additions and 4 deletions
@ -0,0 +1,17 @@ |
|||
package com.bnyer.img.controller; |
|||
|
|||
import com.bnyer.common.core.web.controller.BaseController; |
|||
import com.bnyer.img.service.BannerService; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@Api("img-banner-【后端】接口") |
|||
@RestController |
|||
@RequestMapping("/banner") |
|||
public class BannerController extends BaseController { |
|||
|
|||
@Autowired |
|||
private BannerService bannerService; |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
package com.bnyer.img.controller; |
|||
|
|||
import com.bnyer.common.core.web.controller.BaseController; |
|||
import com.bnyer.img.service.FeedBackService; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@Api("img-feedback-【后端】接口") |
|||
@RestController |
|||
@RequestMapping("/feedback") |
|||
public class FeedBackController extends BaseController { |
|||
|
|||
@Autowired |
|||
private FeedBackService feedBackService; |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
package com.bnyer.img.controller; |
|||
|
|||
import com.bnyer.common.core.web.controller.BaseController; |
|||
import com.bnyer.img.service.TiktokCollectionService; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@Api("img-tiktokCollection-【后端】接口") |
|||
@RestController |
|||
@RequestMapping("/tiktokCollection") |
|||
public class TiktokCollectionController extends BaseController { |
|||
|
|||
@Autowired |
|||
private TiktokCollectionService tiktokCollectionService; |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
package com.bnyer.img.controller; |
|||
|
|||
import com.bnyer.common.core.web.controller.BaseController; |
|||
import com.bnyer.img.service.TiktokImgService; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@Api("img-tiktokImg-【后端】接口") |
|||
@RestController |
|||
@RequestMapping("/tiktokImg") |
|||
public class TiktokImgController extends BaseController { |
|||
|
|||
@Autowired |
|||
private TiktokImgService tiktokImgService; |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
package com.bnyer.img.controller; |
|||
|
|||
import com.bnyer.common.core.web.controller.BaseController; |
|||
import com.bnyer.img.service.TiktokUserService; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@Api("img-tiktokUser-【后端】接口") |
|||
@RestController |
|||
@RequestMapping("/tiktokUser") |
|||
public class TiktokUserController extends BaseController { |
|||
|
|||
@Autowired |
|||
private TiktokUserService tiktokUserService; |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
package com.bnyer.img.controller; |
|||
|
|||
import com.bnyer.common.core.web.controller.BaseController; |
|||
import com.bnyer.img.service.TypeService; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@Api("img-banner-【后端】接口") |
|||
@RestController |
|||
@RequestMapping("/type") |
|||
public class TypeController extends BaseController { |
|||
|
|||
@Autowired |
|||
private TypeService typeService; |
|||
} |
|||
@ -0,0 +1,55 @@ |
|||
package com.bnyer.img.domain; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.*; |
|||
|
|||
@ApiModel(value="com-bnyer-img-domain-Banner") |
|||
@Getter |
|||
@Setter |
|||
@ToString |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@TableName(value = "img_banner") |
|||
public class Banner extends BaseDomain { |
|||
/** |
|||
* id |
|||
*/ |
|||
@TableId(value = "id", type = IdType.AUTO) |
|||
@ApiModelProperty(value="id") |
|||
private Long id; |
|||
|
|||
/** |
|||
* banner名称 |
|||
*/ |
|||
@TableField(value = "banner_name") |
|||
@ApiModelProperty(value="banner名称") |
|||
private String bannerName; |
|||
|
|||
/** |
|||
* banner图片地址 |
|||
*/ |
|||
@TableField(value = "banner_img") |
|||
@ApiModelProperty(value="banner图片地址") |
|||
private String bannerImg; |
|||
|
|||
/** |
|||
* banner跳转地址 |
|||
*/ |
|||
@TableField(value = "banner_url") |
|||
@ApiModelProperty(value="banner跳转地址") |
|||
private String bannerUrl; |
|||
|
|||
/** |
|||
* 平台(0->通用;1->抖音;2->快手;3->微信) |
|||
*/ |
|||
@TableField(value = "source") |
|||
@ApiModelProperty(value="平台(0->通用;1->抖音;2->快手;3->微信)") |
|||
private String source; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
} |
|||
@ -0,0 +1,51 @@ |
|||
package com.bnyer.img.domain; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.*; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
@Getter |
|||
@Setter |
|||
@ToString |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@ApiModel("公共实体类") |
|||
public class BaseDomain implements Serializable { |
|||
|
|||
/** |
|||
* 是否显示 (0->隐藏;1->显示) |
|||
*/ |
|||
@TableField(value = "is_show") |
|||
@ApiModelProperty(value="是否显示 (0->隐藏;1->显示)") |
|||
private String isShow; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
@TableField(value = "create_time") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@ApiModelProperty(value="创建时间") |
|||
private Date createTime; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
@TableField(value = "update_time") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@ApiModelProperty(value="更新时间") |
|||
private Date updateTime; |
|||
|
|||
/** |
|||
* 排序 |
|||
*/ |
|||
@TableField(value = "sort") |
|||
@ApiModelProperty(value="排序") |
|||
private Integer sort; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
} |
|||
@ -0,0 +1,45 @@ |
|||
package com.bnyer.img.domain; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Getter; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.Setter; |
|||
import lombok.ToString; |
|||
|
|||
@ApiModel(value="com-bnyer-img-domain-Feedback") |
|||
@Getter |
|||
@Setter |
|||
@ToString |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@TableName(value = "img_feedback") |
|||
public class Feedback extends BaseDomain { |
|||
/** |
|||
* 主键Id |
|||
*/ |
|||
@TableId(value = "id", type = IdType.AUTO) |
|||
@ApiModelProperty(value="主键Id") |
|||
private Long id; |
|||
|
|||
/** |
|||
* 反馈信息 |
|||
*/ |
|||
@TableField(value = "info") |
|||
@ApiModelProperty(value="反馈信息") |
|||
private String info; |
|||
|
|||
/** |
|||
* 来源平台(0->抖音;1->快手;2->微信) |
|||
*/ |
|||
@TableField(value = "source") |
|||
@ApiModelProperty(value="来源平台(0->抖音;1->快手;2->微信)") |
|||
private String source; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
} |
|||
@ -0,0 +1,41 @@ |
|||
package com.bnyer.img.domain; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.*; |
|||
|
|||
@ApiModel(value="com-bnyer-img-domain-TiktokCollection") |
|||
@Getter |
|||
@Setter |
|||
@ToString |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@TableName(value = "img_tiktok_collection") |
|||
public class TiktokCollection extends BaseDomain { |
|||
/** |
|||
* id |
|||
*/ |
|||
@TableId(value = "id", type = IdType.AUTO) |
|||
@ApiModelProperty(value="id") |
|||
private Long id; |
|||
|
|||
/** |
|||
* 用户id |
|||
*/ |
|||
@TableField(value = "user_id") |
|||
@ApiModelProperty(value="用户id") |
|||
private Long userId; |
|||
|
|||
/** |
|||
* 图片id |
|||
*/ |
|||
@TableField(value = "img_id") |
|||
@ApiModelProperty(value="图片id") |
|||
private Long imgId; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
} |
|||
@ -0,0 +1,83 @@ |
|||
package com.bnyer.img.domain; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.*; |
|||
|
|||
@ApiModel(value="com-bnyer-img-domain-TiktokImg") |
|||
@Getter |
|||
@Setter |
|||
@ToString |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@TableName(value = "img_tiktok_img") |
|||
public class TiktokImg extends BaseDomain { |
|||
/** |
|||
* id |
|||
*/ |
|||
@TableId(value = "id", type = IdType.AUTO) |
|||
@ApiModelProperty(value="id") |
|||
private Long id; |
|||
|
|||
/** |
|||
* 图片地址 |
|||
*/ |
|||
@TableField(value = "img_url") |
|||
@ApiModelProperty(value="图片地址") |
|||
private String imgUrl; |
|||
|
|||
/** |
|||
* 用户id |
|||
*/ |
|||
@TableField(value = "user_id") |
|||
@ApiModelProperty(value="用户id") |
|||
private Long userId; |
|||
|
|||
/** |
|||
* 分类id |
|||
*/ |
|||
@TableField(value = "type_id") |
|||
@ApiModelProperty(value="分类id") |
|||
private Long typeId; |
|||
|
|||
/** |
|||
* 下载量 |
|||
*/ |
|||
@TableField(value = "download_num") |
|||
@ApiModelProperty(value="下载量") |
|||
private Integer downloadNum; |
|||
|
|||
/** |
|||
* 点赞量 |
|||
*/ |
|||
@TableField(value = "great_num") |
|||
@ApiModelProperty(value="点赞量") |
|||
private Integer greatNum; |
|||
|
|||
/** |
|||
* 收藏量 |
|||
*/ |
|||
@TableField(value = "collection_num") |
|||
@ApiModelProperty(value="收藏量") |
|||
private Integer collectionNum; |
|||
|
|||
/** |
|||
* 状态(0->待审核;1->审核通过) |
|||
*/ |
|||
@TableField(value = "status") |
|||
@ApiModelProperty(value="状态(0->待审核;1->审核通过)") |
|||
private String status; |
|||
|
|||
/** |
|||
* 是否热门(0->冷门;1->热门) |
|||
*/ |
|||
@TableField(value = "is_hot") |
|||
@ApiModelProperty(value="是否热门(0->冷门;1->热门)") |
|||
private String isHot; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
} |
|||
@ -0,0 +1,90 @@ |
|||
package com.bnyer.img.domain; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.*; |
|||
|
|||
@ApiModel(value="com-bnyer-img-domain-TiktokUser") |
|||
@Getter |
|||
@Setter |
|||
@ToString |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@TableName(value = "img_tiktok_user") |
|||
public class TiktokUser extends BaseDomain { |
|||
/** |
|||
* id |
|||
*/ |
|||
@TableId(value = "id", type = IdType.AUTO) |
|||
@ApiModelProperty(value="id") |
|||
private Long id; |
|||
|
|||
/** |
|||
* 用户昵称 |
|||
*/ |
|||
@TableField(value = "username") |
|||
@ApiModelProperty(value="用户昵称") |
|||
private String username; |
|||
|
|||
/** |
|||
* 抖音id |
|||
*/ |
|||
@TableField(value = "tiktok_code") |
|||
@ApiModelProperty(value="抖音id") |
|||
private String tiktokCode; |
|||
|
|||
/** |
|||
* 抖音号 |
|||
*/ |
|||
@TableField(value = "tiktok_number") |
|||
@ApiModelProperty(value="抖音号") |
|||
private String tiktokNumber; |
|||
|
|||
/** |
|||
* 手机号 |
|||
*/ |
|||
@TableField(value = "phone") |
|||
@ApiModelProperty(value="手机号") |
|||
private String phone; |
|||
|
|||
/** |
|||
* 搜索码 |
|||
*/ |
|||
@TableField(value = "scan_code") |
|||
@ApiModelProperty(value="搜索码") |
|||
private String scanCode; |
|||
|
|||
/** |
|||
* 邀请码 |
|||
*/ |
|||
@TableField(value = "invite_code") |
|||
@ApiModelProperty(value="邀请码") |
|||
private String inviteCode; |
|||
|
|||
/** |
|||
* 个人简介 |
|||
*/ |
|||
@TableField(value = "intro") |
|||
@ApiModelProperty(value="个人简介") |
|||
private String intro; |
|||
|
|||
/** |
|||
* 头像img地址 |
|||
*/ |
|||
@TableField(value = "img") |
|||
@ApiModelProperty(value="头像img地址") |
|||
private String img; |
|||
|
|||
/** |
|||
* 是否活跃(0->不活跃;1->活跃 连续10天以上更新内容) |
|||
*/ |
|||
@TableField(value = "is_hot") |
|||
@ApiModelProperty(value="是否活跃(0->不活跃;1->活跃 连续10天以上更新内容)") |
|||
private String isHot; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
} |
|||
@ -0,0 +1,34 @@ |
|||
package com.bnyer.img.domain; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.*; |
|||
|
|||
@ApiModel(value="com-bnyer-img-domain-Type") |
|||
@Getter |
|||
@Setter |
|||
@ToString |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@TableName(value = "img_type") |
|||
public class Type extends BaseDomain { |
|||
/** |
|||
* id |
|||
*/ |
|||
@TableId(value = "id", type = IdType.AUTO) |
|||
@ApiModelProperty(value="id") |
|||
private Long id; |
|||
|
|||
/** |
|||
* 分类类型 |
|||
*/ |
|||
@TableField(value = "type_name") |
|||
@ApiModelProperty(value="分类类型") |
|||
private String typeName; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
package com.bnyer.img.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.bnyer.img.domain.Banner; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
@Mapper |
|||
public interface BannerMapper extends BaseMapper<Banner> { |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
package com.bnyer.img.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.bnyer.img.domain.Feedback; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
@Mapper |
|||
public interface FeedbackMapper extends BaseMapper<Feedback> { |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
package com.bnyer.img.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.bnyer.img.domain.TiktokCollection; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
@Mapper |
|||
public interface TiktokCollectionMapper extends BaseMapper<TiktokCollection> { |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
package com.bnyer.img.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.bnyer.img.domain.TiktokImg; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
@Mapper |
|||
public interface TiktokImgMapper extends BaseMapper<TiktokImg> { |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
package com.bnyer.img.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.bnyer.img.domain.TiktokUser; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
@Mapper |
|||
public interface TiktokUserMapper extends BaseMapper<TiktokUser> { |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
package com.bnyer.img.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.bnyer.img.domain.Type; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
@Mapper |
|||
public interface TypeMapper extends BaseMapper<Type> { |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
package com.bnyer.img.service; |
|||
|
|||
public interface BannerService { |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
package com.bnyer.img.service; |
|||
|
|||
public interface FeedBackService { |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
package com.bnyer.img.service; |
|||
|
|||
public interface TiktokCollectionService { |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
package com.bnyer.img.service; |
|||
|
|||
public interface TiktokImgService { |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
package com.bnyer.img.service; |
|||
|
|||
public interface TiktokUserService { |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
package com.bnyer.img.service; |
|||
|
|||
public interface TypeService { |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
package com.bnyer.img.service.impl; |
|||
|
|||
import com.bnyer.img.service.BannerService; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
@Slf4j |
|||
public class BannerServiceImpl implements BannerService { |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
package com.bnyer.img.service.impl; |
|||
|
|||
import com.bnyer.img.service.FeedBackService; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
@Slf4j |
|||
public class FeedBackServiceImpl implements FeedBackService { |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
package com.bnyer.img.service.impl; |
|||
|
|||
import com.bnyer.img.service.TiktokCollectionService; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
@Slf4j |
|||
public class TiktokCollectionServiceImpl implements TiktokCollectionService { |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
package com.bnyer.img.service.impl; |
|||
|
|||
import com.bnyer.img.service.TiktokImgService; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
@Slf4j |
|||
public class TiktokImgServiceImpl implements TiktokImgService { |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
package com.bnyer.img.service.impl; |
|||
|
|||
import com.bnyer.img.service.TiktokUserService; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
@Slf4j |
|||
public class TiktokUserServiceImpl implements TiktokUserService { |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
package com.bnyer.img.service.impl; |
|||
|
|||
import com.bnyer.img.service.TypeService; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
@Slf4j |
|||
public class TypeServiceImpl implements TypeService { |
|||
} |
|||
@ -0,0 +1,22 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.bnyer.img.mapper.BannerMapper"> |
|||
<resultMap id="BaseResultMap" type="com.bnyer.img.domain.Banner"> |
|||
<!--@mbg.generated--> |
|||
<!--@Table img_banner--> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="banner_name" jdbcType="VARCHAR" property="bannerName" /> |
|||
<result column="banner_img" jdbcType="VARCHAR" property="bannerImg" /> |
|||
<result column="banner_url" jdbcType="VARCHAR" property="bannerUrl" /> |
|||
<result column="source" jdbcType="CHAR" property="source" /> |
|||
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
</resultMap> |
|||
<sql id="Base_Column_List"> |
|||
<!--@mbg.generated--> |
|||
id, banner_name, banner_img, banner_url, `source`, is_show, create_time, update_time, |
|||
sort |
|||
</sql> |
|||
</mapper> |
|||
@ -0,0 +1,19 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.bnyer.img.mapper.FeedbackMapper"> |
|||
<resultMap id="BaseResultMap" type="com.bnyer.img.domain.Feedback"> |
|||
<!--@mbg.generated--> |
|||
<!--@Table img_feedback--> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="info" jdbcType="LONGVARCHAR" property="info" /> |
|||
<result column="source" jdbcType="CHAR" property="source" /> |
|||
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
</resultMap> |
|||
<sql id="Base_Column_List"> |
|||
<!--@mbg.generated--> |
|||
id, info, `source`, is_show, create_time, update_time, sort |
|||
</sql> |
|||
</mapper> |
|||
@ -0,0 +1,19 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.bnyer.img.mapper.TiktokCollectionMapper"> |
|||
<resultMap id="BaseResultMap" type="com.bnyer.img.domain.TiktokCollection"> |
|||
<!--@mbg.generated--> |
|||
<!--@Table img_tiktok_collection--> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|||
<result column="img_id" jdbcType="BIGINT" property="imgId" /> |
|||
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
</resultMap> |
|||
<sql id="Base_Column_List"> |
|||
<!--@mbg.generated--> |
|||
id, user_id, img_id, is_show, create_time, update_time, sort |
|||
</sql> |
|||
</mapper> |
|||
@ -0,0 +1,26 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.bnyer.img.mapper.TiktokImgMapper"> |
|||
<resultMap id="BaseResultMap" type="com.bnyer.img.domain.TiktokImg"> |
|||
<!--@mbg.generated--> |
|||
<!--@Table img_tiktok_img--> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="img_url" jdbcType="VARCHAR" property="imgUrl" /> |
|||
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|||
<result column="type_id" jdbcType="BIGINT" property="typeId" /> |
|||
<result column="download_num" jdbcType="INTEGER" property="downloadNum" /> |
|||
<result column="great_num" jdbcType="INTEGER" property="greatNum" /> |
|||
<result column="collection_num" jdbcType="INTEGER" property="collectionNum" /> |
|||
<result column="status" jdbcType="CHAR" property="status" /> |
|||
<result column="is_hot" jdbcType="CHAR" property="isHot" /> |
|||
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
</resultMap> |
|||
<sql id="Base_Column_List"> |
|||
<!--@mbg.generated--> |
|||
id, img_url, user_id, type_id, download_num, great_num, collection_num, `status`, |
|||
is_hot, is_show, create_time, update_time, sort |
|||
</sql> |
|||
</mapper> |
|||
@ -0,0 +1,27 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.bnyer.img.mapper.TiktokUserMapper"> |
|||
<resultMap id="BaseResultMap" type="com.bnyer.img.domain.TiktokUser"> |
|||
<!--@mbg.generated--> |
|||
<!--@Table img_tiktok_user--> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="username" jdbcType="VARCHAR" property="username" /> |
|||
<result column="tiktok_code" jdbcType="VARCHAR" property="tiktokCode" /> |
|||
<result column="tiktok_number" jdbcType="VARCHAR" property="tiktokNumber" /> |
|||
<result column="phone" jdbcType="VARCHAR" property="phone" /> |
|||
<result column="scan_code" jdbcType="VARCHAR" property="scanCode" /> |
|||
<result column="invite_code" jdbcType="VARCHAR" property="inviteCode" /> |
|||
<result column="intro" jdbcType="VARCHAR" property="intro" /> |
|||
<result column="img" jdbcType="VARCHAR" property="img" /> |
|||
<result column="is_hot" jdbcType="CHAR" property="isHot" /> |
|||
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
</resultMap> |
|||
<sql id="Base_Column_List"> |
|||
<!--@mbg.generated--> |
|||
id, username, tiktok_code, tiktok_number, phone, scan_code, invite_code, intro, img, |
|||
is_hot, is_show, create_time, update_time, sort |
|||
</sql> |
|||
</mapper> |
|||
@ -0,0 +1,18 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.bnyer.img.mapper.TypeMapper"> |
|||
<resultMap id="BaseResultMap" type="com.bnyer.img.domain.Type"> |
|||
<!--@mbg.generated--> |
|||
<!--@Table img_type--> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="type_name" jdbcType="VARCHAR" property="typeName" /> |
|||
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
</resultMap> |
|||
<sql id="Base_Column_List"> |
|||
<!--@mbg.generated--> |
|||
id, type_name, is_show, create_time, update_time, sort |
|||
</sql> |
|||
</mapper> |
|||
Loading…
Reference in new issue