1
CREATE TABLE `accreds` (
`accredId` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`accredName` varchar(50) NOT NULL COMMENT '名称',
`accredlmg` varchar(150) NOT NULL DEFAULT '0' COMMENT '图标',
`dataFlag` tinyint(4) DEFAULT '1' COMMENT '删除标志 1有效 -1无效',
`createTime` datetime NOT NULL COMMENT '创建时间',
PRIMARY KEY (`accredId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商家认证项目表——王淇';
2
CREATE TABLE `addons` (
`addonld` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`name` varchar(40) NOT NULL COMMENT '插件名称',
`title` varchar(20) NOT NULL COMMENT '插件标题',
`description` text COMMENT '插件描述',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '插件状态 0:未安装 1:启用 2:禁用',
`config` text COMMENT '插件配置参数json',
`author` varchar(40) DEFAULT NULL COMMENT '插件作者',
`version` varchar(20) DEFAULT NULL COMMENT '插件版本号',
`create Time` datetime DEFAULT NULL COMMENT '创建时间',
`dataFlag` tinyint(4) DEFAULT '1' COMMENT '有效标识 1:有效 -1:删除',
`isConfig` tinyint(4) DEFAULT '0' COMMENT '是否配置 1:已配置,0:未配置',
`updata Time` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`addonld`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='插件表——王淇';
3
CREATE TABLE `ads` (
`adId` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`adPostitionId` int(11) NOT NULL DEFAULT '0' COMMENT '广告位置ID',
`adFile` varchar(150) NOT NULL COMMENT '广告文件',
`adName` varchar(100) NOT NULL COMMENT '广告名称',
`adURL` varchar(255) NOT NULL COMMENT '广告网址',
`adStartDate` date NOT NULL COMMENT '广告开始日期',
`adEndDate` date NOT NULL COMMENT '广告结束日期',
`adSort` int(11) NOT NULL DEFAULT '0' COMMENT '排序号',
`adClickNum` int(11) NOT NULL DEFAULT '0' COMMENT '广告点击数',
`position Type` tinyint(4) DEFAULT '0' COMMENT '广告类型 1:电脑端 2:微信端 3:手机端 4:app端 5:小程序端',
`dataFlag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '删除标志 -1删除 1 有效',
`create Time` datetime DEFAULT NULL COMMENT '创建时间',
`sub Title` varchar(255) DEFAULT NULL COMMENT '删标题',
PRIMARY KEY (`adId`),
KEY `dataFlag` (`dataFlag`),
KEY `position Type` (`position Type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='广告表——王淇';
4
CREATE TABLE `ad_positionid` (
`positionId` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增Id',
`position Type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '广告类型 1:电脑端 2:微信端 3:手机端 4:app端 ',
`positionName` varchar(100) NOT NULL COMMENT '广告位置表',
`positionWidth` int(11) NOT NULL DEFAULT '0' COMMENT '建议宽度',
`positionheight` int(11) NOT NULL DEFAULT '0' COMMENT '建议高度',
`dataFlag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '有效状态',
`positionCode` varchar(20) DEFAULT NULL COMMENT '广告位置代码 N/A',
`apSort` int(11) NOT NULL COMMENT '排序号',
PRIMARY KEY (`positionId`),
KEY `dataFlag` (`dataFlag`),
KEY `position Type` (`position Type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='广告位置表——王淇';
5
CREATE TABLE `areas` (
`areaId` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`parentId` int(11) NOT NULL COMMENT '父ID',
`areaName` varchar(100) NOT NULL COMMENT '地区名称',
`IsShow` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否显示 0是 1否',
`areaSort` int(11) NOT NULL DEFAULT '0' COMMENT '排序号',
`areaKey` char(10) NOT NULL COMMENT '地区首字母',
`areaType` tinyint(4) NOT NULL DEFAULT '1' COMMENT '级别标志 1:省 2:市 3:县区',
`dataFlag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '删除标志 -1:删除 1:有效',
`create Time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`areaId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT=' 区域表——王淇';