# 表名:ims_sudu8_page_products
#### 功能:存放除了多商戶以外的所有商品
#### 外鍵:
~~~
cid 欄目id
pcid 父級欄目id
uniacid 小程序id
formset 關聯表單id
~~~
#### 更新記錄:
~~~
~~~
#### 數據庫創建代碼
~~~
CREATE TABLE `ims_sudu8_page_products` (
`id` int(11) PRIMARY KEY AUTO_INCREMENT,
`cid` int(11) DEFAULT NULL COMMENT '欄目id',
`pcid` int(11) DEFAULT NULL COMMENT '父級欄目id',
`uniacid` int(11) DEFAULT NULL COMMENT '小程序id',
`num` int(11) DEFAULT NULL COMMENT '排序',
`type` varchar(20) DEFAULT NULL COMMENT '類型 showPic、showArt、showPro、showProMore',
`type_x` int(1) DEFAULT NULL,
`type_y` int(1) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL COMMENT '標題',
`text` mediumtext COMMENT '輪播圖',
`thumb` varchar(255) DEFAULT NULL COMMENT '縮略圖',
`ctime` int(10) DEFAULT NULL COMMENT '創建時間',
`etime` int(10) DEFAULT NULL COMMENT '結束時間',
`desc` varchar(255) DEFAULT NULL COMMENT '描述',
`hits` int(11) DEFAULT NULL COMMENT '點擊量',
`type_i` int(1) DEFAULT NULL COMMENT '主頁推薦',
`video` varchar(255) DEFAULT NULL COMMENT '視頻',
`price` varchar(255) DEFAULT NULL COMMENT '實付金額',
`market_price` varchar(255) DEFAULT NULL COMMENT '市場價',
`sale_num` int(11) DEFAULT NULL COMMENT '虛擬銷量',
`score` int(11) DEFAULT NULL COMMENT '最大抵用積分',
`product_txt` text COMMENT '商品的詳細介紹,可放圖文',
`pro_flag` int(11) DEFAULT '0',
`pro_flag_tel` int(1) DEFAULT '0',
`pro_flag_data_name` varchar(40) DEFAULT '預約時間',
`pro_flag_data` int(1) DEFAULT '0',
`pro_flag_time` int(1) DEFAULT '0',
`pro_flag_add` int(1) DEFAULT '0',
`pro_flag_ding` int(1) DEFAULT '0',
`pro_kc` int(11) NOT NULL DEFAULT '-1' COMMENT '庫存',
`pro_xz` int(11) NOT NULL DEFAULT '0' COMMENT '每人限購量',
`sale_tnum` int(11) NOT NULL DEFAULT '0' COMMENT '真實銷量',
`sale_time` int(11) NOT NULL DEFAULT '0' COMMENT '銷售時間',
`labels` varchar(255) DEFAULT NULL COMMENT '標簽',
`is_more` int(1) DEFAULT '0' COMMENT '區分showPro,秒殺、預約預定',
`more_type` text,
`more_type_x` text,
`more_type_num` text,
`flag` int(1) NOT NULL DEFAULT '1' COMMENT '上下架',
`buy_type` varchar(40) DEFAULT '購買' COMMENT '購買類型文字描述',
`formset` int(20) NOT NULL DEFAULT '0' COMMENT '關聯表單id',
`is_score` int(1) NOT NULL DEFAULT '0' COMMENT '是否開啟積分抵扣',
`score_num` int(11) NOT NULL DEFAULT '0' COMMENT '與score重復,最大積分抵扣',
`con2` varchar(5000) NOT NULL,
`con3` varchar(5000) NOT NULL,
`share_type` int(1) NOT NULL DEFAULT '1' COMMENT '1個人2僅群3個人加群',
`share_score` varchar(255) NOT NULL DEFAULT '0' COMMENT '分享積分',
`share_num` int(11) NOT NULL DEFAULT '1' COMMENT '分享限制次數',
`share_gz` int(1) NOT NULL DEFAULT '1' COMMENT '1公共規則2自身規則',
`get_share_gz` int(1) NOT NULL DEFAULT '2' COMMENT '1開啟2關閉',
`get_share_score` int(11) NOT NULL DEFAULT '0' COMMENT '他人點擊分享獲取積分',
`get_share_num` int(11) NOT NULL DEFAULT '0' COMMENT '他人點擊分享次數',
`comment` int(1) NOT NULL DEFAULT '1' COMMENT '評論功能 1開啟 2不開啟',
`multi` int(1) NOT NULL COMMENT '1屬于 2不屬于多欄目',
`top_catas` varchar(255) NOT NULL DEFAULT '',
`sons_catas` varchar(255) NOT NULL DEFAULT '',
`mulitcataid` int(5) NOT NULL COMMENT '多欄目ID',
`shareimg` varchar(255) NOT NULL COMMENT '分享圖',
`glnews` text NOT NULL COMMENT '關聯文章',
`label_1` int(11) NOT NULL DEFAULT '1',
`label_2` int(11) NOT NULL DEFAULT '0',
`sale_type` int(11) NOT NULL DEFAULT '1',
`kuaidi` int(1) NOT NULL DEFAULT '0' COMMENT '0快遞 1到店取貨'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
~~~