TPshop表結構

tp_account_log?-- 賬戶表

字段名字段類型默認值描述
log_idmediumint(8) unsigned?日志id
user_idmediumint(8) unsigned?用戶id
user_moneydecimal(10,2)0.00用戶金額
frozen_moneydecimal(10,2)0.00凍結金額
pay_pointsmediumint(9)?支付積分
change_timeint(10) unsigned?變動時間
descvarchar(255)?描述
order_snvarchar(50)?訂單編號
order_idint(10)?訂單id

?

?

?

?

?

?

?

?

tp_admin_role?-- 管理員權限表

字段名字段類型默認值描述
role_idsmallint(6) unsigned?角色ID
role_namevarchar(30)?角色名稱
act_listtext?權限列表
role_descvarchar(255)?角色描述

?

?

?

?

tp_area_region?-- 配送地區表

字段名字段類型默認值描述
shipping_area_idint(11) unsigned0物流配置id
region_idint(11) unsigned0地區id對應region表id

?

?

?

tp_article?-- 文章表

字段名字段類型默認值描述
article_idmediumint(8) unsigned?表id
cat_idsmallint(5)0類別ID
cat_id2smallint(5)0擴展類別ID
titlevarchar(150)?文章標題
contentlongtext?文章內容
authorvarchar(30)?文章作者
author_emailvarchar(60)?作者郵箱
keywordsvarchar(255)?關鍵字
article_typetinyint(1) unsigned2文章類型
is_opentinyint(1) unsigned1是否開啟
add_timeint(10) unsigned0添加時間
file_urlvarchar(255)?附件地址
open_typetinyint(1) unsigned0open_type
linkvarchar(255)?鏈接地址
descriptionmediumtext?文章摘要
clickint(11)0瀏覽量
collectint(11)0收藏數
commentint(11)0評論數
zanint(11)0點贊數
publish_timeint(11)0文章發布時間
thumbvarchar(255)?文章縮略圖
user_idint(11)0用戶id
open_modetinyint(1) unsigned zerofill0開放方式1單商家2多商家3兩者都是

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

tp_article_cat?-- 文章分類表

字段名字段類型默認值描述
cat_idint(10) unsigned?表id
cat_namevarchar(20)?類別名稱
cat_typesmallint(6)0系統分組
parent_idsmallint(6)?父級ID
show_in_navtinyint(1)0是否導航顯示
sort_ordersmallint(6)50排序
cat_descvarchar(255)?分類描述
keywordsvarchar(30)?搜索關鍵詞
cat_aliasvarchar(20)?別名

?

?

?

?

?

?

?

?

?tp_brand?-- 品牌表

字段名字段類型默認值描述
idsmallint(5) unsigned?品牌表
namevarchar(60)?品牌名稱
logovarchar(80)?品牌logo
desctext?品牌描述
urlvarchar(255)?品牌地址
sorttinyint(3) unsigned50排序
cat_namevarchar(128)?品牌分類
parent_cat_idint(11)0分類id
cat_idint(10)0分類id
is_hottinyint(1)0是否推薦

?

?

?

?

?

?

?

?

?tp_cart?-- 購物車表

字段名字段類型默認值描述
idint(8) unsigned?購物車表
user_idmediumint(8) unsigned0用戶id
session_idchar(128)?session
goods_idmediumint(8) unsigned0商品id
goods_snvarchar(60)?商品貨號
goods_namevarchar(120)?商品名稱
market_pricedecimal(10,2) unsigned0.00市場價
goods_pricedecimal(10,2)0.00本店價
member_goods_pricedecimal(10,2)0.00會員折扣價
goods_numsmallint(5) unsigned0購買數量
spec_keyvarchar(64)?商品規格key 對應tp_spec_goods_price 表
spec_key_namevarchar(64)?商品規格組合名稱
bar_codevarchar(64)?商品條碼
selectedtinyint(1)1購物車選中狀態
add_timeint(11)0加入購物車的時間
prom_typetinyint(1)00 普通訂單,1 限時搶購, 2 團購 , 3 促銷優惠
prom_idint(11)0活動id
skuvarchar(128)?sku

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

tp_comment?-- 評論表

字段名字段類型默認值描述
comment_idint(10) unsigned?評論id
goods_idmediumint(8) unsigned0商品id
emailvarchar(60)?email郵箱
usernamevarchar(60)?用戶名
contenttext?評論內容
deliver_ranktinyint(1) unsigned0物流評價等級
add_timeint(10) unsigned0添加時間
ip_addressvarchar(15)?ip地址
is_showtinyint(1) unsigned0是否顯示
parent_idint(10) unsigned0父id
user_idint(10) unsigned0評論用戶
imgtext?曬單圖片
order_idmediumint(8)?訂單id
goods_ranktinyint(1)?商品評價等級
service_ranktinyint(1)?商家服務態度評價等級

?

?

?

?

?

?

?

?

?

?

?

?

tp_config?-- 配置表

字段名字段類型默認值描述
idsmallint(6) unsigned?表id
namevarchar(64)?配置的key鍵名
valuevarchar(512)?配置的val值
inc_typevarchar(64)?配置分組
descvarchar(50)?描述

?

?

?

?

?

tp_feedback?-- 用戶留言

字段名字段類型默認值描述
msg_idmediumint(8) unsigned?默認自增ID
parent_idmediumint(8) unsigned0回復留言ID
user_idmediumint(8) unsigned0用戶ID
user_namevarchar(60)??
msg_titlevarchar(200)?留言標題
msg_typetinyint(1) unsigned0留言類型
msg_statustinyint(1) unsigned0處理狀態
msg_contenttext?留言內容
msg_timeint(10) unsigned0留言時間
message_imgvarchar(255)0?
order_idint(11) unsigned0?
msg_areatinyint(1) unsigned0

?

?

?

?

?

?

?

?

?

?

?

tp_goods?-- 商品表

字段名字段類型默認值描述
goods_idmediumint(8) unsigned?商品id
cat_idint(11) unsigned0分類id
extend_cat_idint(11)0擴展分類id
goods_snvarchar(60)?商品編號
goods_namevarchar(120)?商品名稱
click_countint(10) unsigned0點擊數
brand_idsmallint(5) unsigned0品牌id
store_countsmallint(5) unsigned10庫存數量
comment_countsmallint(5)0商品評論數
weightint(11) unsigned0商品重量克為單位
market_pricedecimal(10,2) unsigned0.00市場價
shop_pricedecimal(10,2) unsigned0.00本店價
cost_pricedecimal(10,2)0.00商品成本價
keywordsvarchar(255)?商品關鍵詞
goods_remarkvarchar(255)?商品簡單描述
goods_contenttext?商品詳細描述
original_imgvarchar(255)?商品上傳原始圖
is_realtinyint(3) unsigned1是否為實物
is_on_saletinyint(1) unsigned1是否上架
is_free_shippingtinyint(1) unsigned0是否包郵0否1是
on_timeint(10) unsigned0商品上架時間
sortsmallint(4) unsigned50商品排序
is_recommendtinyint(1) unsigned0是否推薦
is_newtinyint(1) unsigned0是否新品
is_hottinyint(1)0是否熱賣
last_updateint(10) unsigned0最后更新時間
goods_typesmallint(5) unsigned0商品所屬類型id,取值表goods_type的cat_id
spec_typesmallint(5)0商品規格類型,取值表goods_type的cat_id
give_integralmediumint(8)0購買商品贈送積分
exchange_integralint(10)0積分兌換:0不參與積分兌換,積分和現金的兌換比例見后臺配置
suppliers_idsmallint(5) unsigned0供貨商ID
sales_sumint(11)0商品銷量
prom_typetinyint(1)00 普通訂單,1 限時搶購, 2 團購 , 3 促銷優惠
prom_idint(11)0優惠活動id
commissiondecimal(10,2)0.00傭金用于分銷分成
spuvarchar(128)?SPU
skuvarchar(128)?SKU
shipping_area_idsvarchar(255)?配送物流shipping_area_id,以逗號分隔

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?tp_goods_attr?-- 商品屬性對應表

字段名字段類型默認值描述
goods_attr_idint(10) unsigned?商品屬性id自增
goods_idmediumint(8) unsigned0商品id
attr_idsmallint(5) unsigned0屬性id
attr_valuetext?屬性值
attr_pricevarchar(255)?屬性價格

?

?

?

?

?

tp_goods_attribute?-- 商品屬性表

字段名字段類型默認值描述
attr_idint(11) unsigned?屬性id
attr_namevarchar(60)?屬性名稱
type_idsmallint(5) unsigned0屬性分類id
attr_indextinyint(1) unsigned00不需要檢索 1關鍵字檢索 2范圍檢索
attr_typetinyint(1) unsigned00唯一屬性 1單選屬性 2復選屬性
attr_input_typetinyint(1) unsigned00 手工錄入 1從列表中選擇 2多行文本框
attr_valuestext?可選值列表
ordertinyint(3) unsigned50屬性排序

?

?

?

?

?

?

?

?

tp_goods_category?-- 商品分類表

字段名字段類型默認值描述
idsmallint(5) unsigned?商品分類id
namevarchar(90)?商品分類名稱
mobile_namevarchar(64)?手機端顯示的商品分類名
parent_idsmallint(5) unsigned0父id
parent_id_pathvarchar(128)?家族圖譜
leveltinyint(1)0等級
sort_ordertinyint(1) unsigned50順序排序
is_showtinyint(1) unsigned1是否顯示
imagevarchar(512)?分類圖片
is_hottinyint(1)0是否推薦為熱門分類
cat_grouptinyint(1)0分類分組默認0
commission_ratetinyint(1)0分傭比例

?

?

?

?

?

?

?

?

?

?

tp_goods_images?-- 商品圖片表

字段名字段類型默認值描述
img_idmediumint(8) unsigned?圖片id 自增
goods_idmediumint(8) unsigned0商品id
image_urlvarchar(255)?圖片地址

?

?

?

?

tp_goods_type?-- 商品類型表

字段名字段類型默認值描述
idsmallint(5) unsigned?id自增
namevarchar(60)?類型名稱

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/280070.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/280070.shtml
英文地址,請注明出處:http://en.pswp.cn/news/280070.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

Redis 通配符批量刪除key

問題: 線上有部分的redis key需要清理。 一、 由于Keys模糊匹配,請大家在實際運用的時候忽略掉。因為Keys會引發Redis鎖,并且增加Redis的CPU占用,情況是很惡劣的, 官網說明如下: Warning: consider KEYS as…

如何在 .Net 7 中將 Query 綁定到數組

在 .Net 7 中,我們可以通過綁定數組的方式來接收來自查詢字符串的參數。這樣就不需要再使用逗號分隔的字符串來獲取參數了。代碼演示 假設我們需要從 query 上接受多個 id 并返回查詢的結果。例如:id1&id2在 .Net 7 中,我們可以這樣實現&…

xbox one 越獄_如何在Xbox One上播放視頻和音樂文件

xbox one 越獄The Xbox One has integrated TV features and support for streaming media apps like Netflix and Hulu, but that isn’t where it ends. You can play video and music files you’ve ripped or downloaded by plugging in a USB drive or streaming them ove…

C++實驗七

11——3 #include<fstream>using namespace std;int main(){ ofstream file; file.open("test1.txt",ios_base::binary); file<<"已成功添加字符&#xff01;"; file.close(); return 0; } 11-4 #include<fstream>#include<iostrea…

Visual Studio 15.4發布,新增多平臺支持

微軟發布了Visual Studio 2017的第四個升級版本&#xff0c;并且延續了支持.NET Standard 2.0和通用Windows平臺&#xff08;UWP&#xff09;的承諾。.NET Standard 2.0支持是微軟推動跨平臺應用程序開發和代碼重用戰略的重要一環。\\15.4版本的變化與微軟發布的預覽版非常接近…

重新學習web后端開發-001-寫在前面的話

"長風破浪會有時 直掛云帆濟滄海" —— 李白<!-- more --> 1. 為什么會寫這個系列 隨著互聯網技術飛速的非常&#xff0c;web開發一直都是互聯網技術的重要部分之一。在作者十余年的工作中&#xff0c;經歷了從程序員到高級工程師&#xff0c;然后開始負責項目…

WPF-20 ICommand命令綁定

這節我們介紹一下WPF中比較重要的接口ICommand&#xff0c;也是WPF中一個新的特性&#xff0c;做過WinForm朋友都知道&#xff0c;WinForm開發是基于事件驅動開發模式&#xff0c;比如一個Button有Click事件&#xff0c;當我點擊該按鈕時&#xff0c;在當前頁面會執行具體的業務…

如何在Safari中查看網頁的完整URL

Modern versions of Safari don’t show the entire URL of a page in the address bar—it just shows the web site’s domain name. If this bothers you, it’s easy to change. Safari的現代版本無法在地址欄中顯示頁面的整個URL&#xff0c;而僅顯示網站的域名。 如果這困…

PHP | Uploading and reading of files and database 【PHP | 文件的上傳和讀取與數據庫】

這是我自己的一個作業&#xff0c;用的是很基礎的代碼。 有錯誤的地方歡迎批評和指正&#xff01; 這里最容易出錯的地方在讀取數據后向數據庫表中插入數據是的數據格式&#xff01; 文件上傳的頁面 uploading.php <html> <body align "center"> <fo…

Mqttnet內存與性能改進錄

1 MQTTnet介紹MQTTnet是一個高性能的 .NET MQTT庫&#xff0c;它提供MQTT客戶端和MQTT服務器的功能&#xff0c;支持到最新MQTT5協議版本&#xff0c;支持.Net Framework4.5.2版本或以上。MQTTnet is a high performance .NET library for MQTT based communication. It provid…

DataArtisans戰略聯手阿里云 Apache Flink服務能力云化

近日&#xff0c;Apache Flink商業公司 CEO、聯合創始人Kostas Tzoumas在云棲大會上宣布和阿里集團達成戰略合作伙伴關系&#xff0c;希望能夠借助全球最大的云計算公司之一阿里云&#xff0c;服務更多的大數據實時流計算的客戶。同時期待通過加強和阿里集團技術合作&#xff0…

高清、免版權美圖資源大全

正所謂“一圖勝千言”&#xff0c;當在寫文章、做設計、搞 PPT、發朋友圈&#xff0c;搭配一些合適的圖&#xff0c;這無疑將極大提升內容的表現力。鑒于此&#xff0c;在傾城之鏈的美圖板塊&#xff0c;收錄了來自世界各地的優質圖片網站&#xff0c;它們所提供高品質且免費的…

如何在WhatsApp中將群聊靜音

Group Chats are awesome if you’re in a club, want to keep in touch with all your friends, or are trying organize something. Unfortunately, if you’re busy and the other members decide to have a long, detailed conversation about the latest episode of Game …

Django進階之session

Django進階之session 基于cookie做用戶驗證時&#xff1a;敏感信息不適合放在cookie中 session依賴cookie session原理 cookie是保存在用戶瀏覽器端的鍵值對 session是保存在服務器端的鍵值對 session服務端中存在的數據為&#xff1a; session {隨機字符串1&#xff1a;{用戶…

Facebook開源 PyTorch版 fairseq,準確性最高、速度比循環神經網絡快9倍

今年5月&#xff0c;Facebook AI研究院&#xff08;FAIR&#xff09;發表了他們的研究成果fairseq&#xff0c;在fairseq中&#xff0c;他們使用了一種新型的卷積神經網絡來做語言翻譯&#xff0c;比循環神經網絡的速度快了9倍&#xff0c;而且準確性也是現有模型中最高的。此外…

推薦一個開源的現代化的 PDF 生成組件

你好&#xff0c;這里是 Dotnet 工具箱&#xff0c;定期分享 Dotnet 有趣&#xff0c;實用的工具和組件&#xff0c;希望對您有用&#xff01;前言QuestPDF 是一個開源免費的 .NET 組件庫&#xff0c;可以用來生成 PDF 文檔。在 Github 上有4千多的 Star。項目充分考慮了 PDF 文…

小程序調用阿里云身份證識別OCR(附帶七牛云上傳圖片)

寫在前面&#xff1a;實現的邏輯是拍照上傳調用后端封裝好的身份證接口&#xff0c;然后同時調用七牛云接口把照片傳過去以便后臺管理系統審核看1:首選需要這么一張頁面接下來就寫我是怎么做的首先是布局&#xff08;以下是wxml&#xff09; <view><view classidcard&…

windows 安裝yaml支持和pytest支持等

打開cmd 輸入pip install pyyaml #yaml文件支持 輸入pip install pytest #pytest框架支持 輸入pip install requests #requests接口測試支持 輸入pip install pyopenssl #openssl支持 前提是電腦上的python已經配置好了轉載于:https://www.cnblogs.com/mghhzAnne/p/92…

史上最好記的神經網絡結構速記表(上)

本文講的是史上最好記的神經網絡結構速記表&#xff08;上&#xff09;&#xff0c;新的神經網絡結構不斷涌現&#xff0c;我們很難一一掌握。哪怕一開始只是記住所有的簡稱&#xff08; DCIGN&#xff0c;BiLSTM&#xff0c;DCGAN &#xff09;&#xff0c;也會讓同學們吃不消…

厚積薄發,微軟OFFICE云時代宏腳本來臨,Excel Srcipt已經推進到桌面端可用

前一陣子&#xff0c;已經發現微軟在Excel上發布了Office Script For Excel&#xff0c;當時只能在網頁端的Excel上使用&#xff0c;今天打開桌面端的Excel&#xff0c;發現多了一個【自動執行】選項卡。再一次看了下&#xff0c;比起以前的Office Addin&#xff0c;要先進得多…