本文主要对首页内容推荐功能相关表进行解析,采用数据库表与功能对照的形式。

相关表结构

首页品牌推荐表

用于管理首页显示的品牌制造商直供信息。

create table sms_home_brand(   id                   bigint not null auto_increment,   brand_id             bigint comment '商品品牌id',   brand_name           varchar(64) comment '商品品牌名称',   recommend_status     int(1) comment '推荐状态:0->不推荐;1->推荐',   sort                 int comment '排序',   primary key (id));

新品推荐商品表

用于管理首页显示的新鲜好物信息。

create table sms_home_new_product(   id                   bigint not null auto_increment,   product_id           bigint comment '商品id',   product_name         varchar(64) comment '商品名称',   recommend_status     int(1) comment '推荐状态:0->不推荐;1->推荐',   sort                 int(1) comment '排序',   primary key (id));

人气推荐商品表

用于管理首页显示的人气推荐信息。

create table sms_home_recommend_product(   id                   bigint not null auto_increment,   product_id           bigint,   product_name         varchar(64),   recommend_status     int(1),   sort                 int(1),   primary key (id));

首页专题推荐表

用于管理首页显示的专题精选信息。

create table sms_home_recommend_subject(   id                   bigint not null auto_increment,   subject_id           bigint comment '专题id',   subject_name         varchar(64) comment '专题名称',   recommend_status     int(1) comment '推荐状态:0->不推荐;1->推荐',   sort                 int comment '排序',   primary key (id));

首页轮播广告表

用于管理首页显示的轮播广告信息。

create table sms_home_advertise(   id                   bigint not null auto_increment,   name                 varchar(100) comment '名称',   type                 int(1) comment '轮播位置:0->PC首页轮播;1->app首页轮播',   pic                  varchar(500) comment '图片地址',   start_time           datetime comment '开始时间',   end_time             datetime comment '结束时间',   status               int(1) comment '上下线状态:0->下线;1->上线',   click_count          int comment '点击数',   order_count          int comment '下单数',   url                  varchar(500) comment '链接地址',   note                 varchar(500) comment '备注',   sort                 int default 0 comment '排序',   primary key (id));

管理端展现

品牌推荐列表

选择品牌

新品推荐列表

选择商品

人气推荐列表

选择商品

专题推荐列表

选择专题

广告列表

编辑广告

移动端展现

首页轮播广告

品牌制造商直供

新鲜好物

图片

人气推荐

图片

专题精选

图片


更多相关文章

  1. 微软Edge浏览器准备内置屏蔽广告功能
  2. 微软分析Pypi数据: 5月21日Python3战胜Python2
  3. [简讯] 微软Linux子系统已经支持中文
  4. JQuery仿最新淘宝网首页带箭头幻灯片,JQuery轮播图
  5. 用HTML+CSS编写一个计科院网站首页的静态网页
  6. Tomcat设置首页(Linux系统)
  7. App在自己界面奔溃回到首页,状态栏沉浸式消失bug
  8. Android欢迎页面自动跳转和触摸进入首页
  9. java漏洞成黑客目标微软呼吁用户更新软件

随机推荐

  1. 从一份定义文件详解ELK中Logstash插件结
  2. linux系统重启操作系统后报错提示An erro
  3. 分布式消息队列 RocketMQ 源码分析 ——
  4. linux系统修改root密码报错
  5. Windows 服务器安装远程桌面及破解120天
  6. 分布式消息队列 RocketMQ源码解析:Filters
  7. Redhat 7 LVM xfs文件系统修复
  8. 怎么提升写代码的能力
  9. 物理服务器多块硬盘故障
  10. 2020年12PMP备考历程