/*
Navicat Premium Data Transfer
Source Server : XamppSQl
Source Server Type : MariaDB
Source Server Version : 100414
Source Host : localhost:3306
Source Schema : ruhuasql
Target Server Type : MariaDB
Target Server Version : 100414
File Encoding : 65001
Date: 16/01/2021 10:50:55
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for rh_admin
-- ----------------------------
DROP TABLE IF EXISTS `rh_admin`;
CREATE TABLE `rh_admin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
`password` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`group_id` tinyint(4) NOT NULL COMMENT '管理组ID',
`ip` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`state` int(1) NOT NULL DEFAULT 0 COMMENT '是否禁用',
`description` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
`login_time` int(11) NOT NULL DEFAULT 0,
`create_time` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '管理员表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rh_article
-- ----------------------------
DROP TABLE IF EXISTS `rh_article`;
CREATE TABLE `rh_article` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '文章编号',
`type` int(11) NOT NULL COMMENT '0活动公告,1独立文章,3公告',
`title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文章标题',
`summary` varchar(140) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '文章摘要',
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文章正文',
`image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '文章标题图片',
`is_hidden` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否显示 1 显示 0 不显示',
`author` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发布者用户名 ',
`create_time` int(11) NULL DEFAULT 0 COMMENT '文章发布时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 AVG_ROW_LENGTH = 6553 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'CMS文章表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rh_bank_card
-- ----------------------------
DROP TABLE IF EXISTS `rh_bank_card`;
CREATE TABLE `rh_bank_card` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT 0 COMMENT '用户id',
`bk_uname` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '户主名',
`bk_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '银行名称',
`type` int(11) NOT NULL DEFAULT 0 COMMENT '类型0用户卡1商家卡',
`create_time` int(11) NOT NULL DEFAULT 0,
`update_time` int(11) NOT NULL DEFAULT 0,
`card` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '卡号',
`card_type` int(11) NOT NULL DEFAULT 0 COMMENT '0其他1人民银行2农业银行3工商银行3建设银行',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '银行卡表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rh_banner
-- ----------------------------
DROP TABLE IF EXISTS `rh_banner`;
CREATE TABLE `rh_banner` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'Banner名称,通常作为标识',
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'Banner描述',
`delete_time` int(11) NULL DEFAULT NULL,
`update_time` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'banner管理表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of rh_banner
-- ----------------------------
INSERT INTO `rh_banner` VALUES (1, 'index_banner', '首页banner位', NULL, NULL);
-- ----------------------------
-- Table structure for rh_banner_item
-- ----------------------------
DROP TABLE IF EXISTS `rh_banner_item`;
CREATE TABLE `rh_banner_item` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`img_id` int(11) NOT NULL COMMENT '外键,关联image表',
`key_word` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '执行关键字,根据不同的type含义不同',
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '跳转类型',
`jump_id` int(11) NOT NULL DEFAULT 0,
`delete_time` int(11) NULL DEFAULT NULL,
`banner_id` int(11) NOT NULL COMMENT '外键,关联banner表',
`is_visible` int(11) NOT NULL DEFAULT 1 COMMENT '是否显示 1 显示 0 不显示',
`sort` int(11) NULL DEFAULT NULL,
`update_time` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'banner子项表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rh_category
-- ----------------------------
DROP TABLE IF EXISTS `rh_category`;
CREATE TABLE `rh_category` (
`category_id` int(11) NOT NULL AUTO_INCREMENT,
`category_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '名称',
`short_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '商品分类简称 ',
`pid` int(11) NOT NULL DEFAULT 0,
`level` tinyint(4) NOT NULL DEFAULT 0,
`is_visible` int(11) NOT NULL DEFAULT 1 COMMENT '是否显示 1 显示 0 不显示',
`sort` int(11) NULL DEFAULT NULL,
`category_pic` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '商品分类图片',
PRIMARY KEY (`category_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 AVG_ROW_LENGTH = 244 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '商品分类表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rh_company
-- ----------------------------
DROP TABLE IF EXISTS `rh_company`;
CREATE TABLE `rh_company` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位名称',
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位地址',
`user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位负责人',
`mobile` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系电话',
`money` float NOT NULL DEFAULT 0 COMMENT '账户余额',
`create_time` int(11) NULL DEFAULT NULL,
`update_time` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '单位绑定表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rh_coupon
-- ----------------------------
DROP TABLE IF EXISTS `rh_coupon`;
CREATE TABLE `rh_coupon` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` int(11) NOT NULL DEFAULT 3 COMMENT '类型1:店铺优惠券',
`shop_id` int(11) NOT NULL DEFAULT 0 COMMENT '店铺ID',
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '优惠券名称',
`goods_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '可用商品ID集合,0为�
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
如花商城系统thinkphp6+uniapp,小程序直播拼团限时分销APP商城.zip (2007个子文件)
.browserslistrc 21B
chunk-vendors.728eb7d9.css 228KB
bootstrap.min.css 115KB
bootstrap.min.css 115KB
index.2d26d90a.css 79KB
layui.css 68KB
icon.css 43KB
icon.css 43KB
ueditor.css 43KB
ueditor.css 43KB
ueditor.css 43KB
ueditor.css 43KB
ueditor.min.css 34KB
ueditor.min.css 34KB
ueditor.min.css 34KB
ueditor.min.css 34KB
thorui.css 24KB
thorui.css 24KB
uni.css 24KB
video-js.css 21KB
video-js.css 21KB
video-js.css 21KB
video-js.css 21KB
image.css 18KB
image.css 18KB
image.css 18KB
image.css 18KB
video.css 15KB
video.css 15KB
video.css 15KB
video.css 15KB
layer.css 14KB
attachment.css 14KB
attachment.css 14KB
attachment.css 14KB
attachment.css 14KB
video-js.min.css 11KB
video-js.min.css 11KB
video-js.min.css 11KB
video-js.min.css 11KB
layui.mobile.css 10KB
nv.d3.min.css 9KB
nv.d3.min.css 9KB
laydate.css 7KB
shCoreDefault.css 7KB
shCoreDefault.css 7KB
shCoreDefault.css 7KB
shCoreDefault.css 7KB
chunk-70cba966.0190be25.css 6KB
chunk-77b56756.ab7c1491.css 5KB
scrawl.css 4KB
scrawl.css 4KB
scrawl.css 4KB
scrawl.css 4KB
chunk-381da104.0a9296ed.css 3KB
chunk-0d8f9198.0a9296ed.css 3KB
chunk-01bd8cca.0a9296ed.css 3KB
chunk-0ff73fac.0a9296ed.css 3KB
chunk-2413a45b.a8b3832e.css 3KB
htmlDescriptor.css 3KB
codemirror.css 3KB
codemirror.css 3KB
codemirror.css 3KB
codemirror.css 3KB
chunk-ec99e100.a5228e0c.css 3KB
charts.css 3KB
charts.css 3KB
charts.css 3KB
charts.css 3KB
background.css 2KB
background.css 2KB
background.css 2KB
background.css 2KB
app.88e52a1a.css 2KB
style.css 2KB
style.css 2KB
emotion.css 2KB
emotion.css 2KB
emotion.css 2KB
emotion.css 2KB
dialogbase.css 2KB
dialogbase.css 2KB
dialogbase.css 2KB
dialogbase.css 2KB
music.css 2KB
music.css 2KB
music.css 2KB
music.css 2KB
chunk-5f128fba.fd3dab30.css 1KB
app.css 1KB
chunk-3cc69a3c.262b1b76.css 1KB
chunk-2c1d1e1a.94deb8f7.css 1KB
edittable.css 1KB
edittable.css 1KB
edittable.css 1KB
edittable.css 1KB
chunk-ea3314f8.4de1fa17.css 1KB
code.css 1KB
chunk-ac5cbf22.c859887d.css 1KB
template.css 1KB
共 2007 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
天天501
- 粉丝: 617
- 资源: 5906
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功