代码拉取完成,页面将自动刷新
-- MySQL dump 10.13 Distrib 5.7.9, for Win64 (x86_64)
--
-- Host: localhost Database: shop
-- ------------------------------------------------------
-- Server version 5.7.10-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `rj_address`
--
DROP TABLE IF EXISTS `rj_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_address` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`province_id` int(11) DEFAULT NULL,
`city_id` int(11) DEFAULT NULL,
`county_id` int(11) DEFAULT NULL,
`detail` varchar(45) DEFAULT NULL,
`phone` varchar(45) DEFAULT NULL,
`name` varchar(45) DEFAULT NULL,
`postcode` varchar(45) DEFAULT NULL,
`public` tinyint(5) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_banner`
--
DROP TABLE IF EXISTS `rj_banner`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_banner` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(45) DEFAULT NULL,
`subtitle` varchar(45) DEFAULT NULL,
`type` int(11) DEFAULT NULL,
`upload_file_name` varchar(100) DEFAULT NULL,
`value` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_cart`
--
DROP TABLE IF EXISTS `rj_cart`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_cart` (
`user_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`number` int(11) DEFAULT NULL,
`price` float DEFAULT NULL,
PRIMARY KEY (`user_id`,`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_category`
--
DROP TABLE IF EXISTS `rj_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`upload_file_name` varchar(100) DEFAULT NULL,
`public` tinyint(5) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_comment`
--
DROP TABLE IF EXISTS `rj_comment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_comment` (
`id` varchar(45) NOT NULL,
`product_id` int(11) DEFAULT NULL,
`content` tinytext,
`creator_id` int(11) DEFAULT NULL,
`date` varchar(45) DEFAULT NULL,
`rating` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_comment_image`
--
DROP TABLE IF EXISTS `rj_comment_image`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_comment_image` (
`id` int(11) NOT NULL,
`comment_id` varchar(45) DEFAULT NULL,
`upload_file_name` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_comment_map`
--
DROP TABLE IF EXISTS `rj_comment_map`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_comment_map` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`product_id` int(11) DEFAULT NULL,
`upload_file_limit_id` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_history`
--
DROP TABLE IF EXISTS `rj_history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(45) DEFAULT NULL,
`object_id` varchar(45) DEFAULT NULL,
`content` varchar(45) DEFAULT NULL,
`operator_id` varchar(45) DEFAULT NULL,
`date` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_order`
--
DROP TABLE IF EXISTS `rj_order`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_order` (
`id` varchar(45) NOT NULL,
`state` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`post_id` varchar(45) DEFAULT NULL,
`post_company` varchar(45) DEFAULT NULL,
`operator_id` int(11) DEFAULT NULL,
`date` varchar(45) DEFAULT NULL,
`history` int(11) DEFAULT NULL,
`public` tinyint(5) DEFAULT NULL,
`from_id` varchar(45) DEFAULT NULL,
`expect_pay` float DEFAULT NULL,
`trad_id` varchar(45) DEFAULT NULL,
`address_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_order_item`
--
DROP TABLE IF EXISTS `rj_order_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_order_item` (
`product_id` int(11) NOT NULL,
`order_id` varchar(45) NOT NULL,
`number` int(11) DEFAULT NULL,
`message` varchar(45) DEFAULT NULL,
`price` float DEFAULT NULL,
PRIMARY KEY (`product_id`,`order_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_product`
--
DROP TABLE IF EXISTS `rj_product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_product` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`category_id` int(11) DEFAULT NULL,
`number` int(11) DEFAULT NULL,
`name` varchar(45) DEFAULT NULL,
`price` varchar(45) DEFAULT NULL,
`old_price` varchar(45) DEFAULT NULL,
`comment` varchar(45) DEFAULT NULL,
`public` tinyint(5) DEFAULT NULL,
`summary` varchar(45) DEFAULT NULL,
`create_date` varchar(45) DEFAULT NULL,
`sold_number` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_product_image`
--
DROP TABLE IF EXISTS `rj_product_image`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_product_image` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`product_id` int(11) DEFAULT NULL,
`upload_file_name` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_story`
--
DROP TABLE IF EXISTS `rj_story`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_story` (
`id` varchar(45) NOT NULL,
`title` varchar(45) DEFAULT NULL,
`content` varchar(45) DEFAULT NULL,
`creator_id` varchar(45) DEFAULT NULL,
`public` tinyint(5) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_story_image`
--
DROP TABLE IF EXISTS `rj_story_image`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_story_image` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`story_id` varchar(45) DEFAULT NULL,
`upload_file_name` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_story_product`
--
DROP TABLE IF EXISTS `rj_story_product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_story_product` (
`story_id` varchar(45) NOT NULL,
`product_id` varchar(45) NOT NULL,
PRIMARY KEY (`story_id`,`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_upload_file`
--
DROP TABLE IF EXISTS `rj_upload_file`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_upload_file` (
`user_id` int(11) DEFAULT NULL,
`app_type` varchar(45) DEFAULT NULL,
`mime_type` varchar(45) DEFAULT NULL,
`name` varchar(100) NOT NULL,
`refrence_count` int(11) DEFAULT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_upload_file_limit`
--
DROP TABLE IF EXISTS `rj_upload_file_limit`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_upload_file_limit` (
`id` varchar(45) NOT NULL,
`count` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `rj_user`
--
DROP TABLE IF EXISTS `rj_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rj_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`password` varchar(45) DEFAULT NULL,
`mobilephone` varchar(45) DEFAULT NULL,
`e_mail` varchar(45) DEFAULT NULL,
`permission` int(11) DEFAULT NULL,
`create_date` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- Dump completed on 2016-02-09 19:51:09
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。