您当前的位置:首页 > CMS常见问题 > phpshe常见问题 >

phpshe1.8数据库字典

0
pe_product 商品表
名字类型整理属性默认额外注释
product_idsmallint(5)UNSIGNEDAUTO_INCREMENT商品ID
product_virtualtinyint(1)UNSIGNED0是否虚拟商品
product_pointsmallint(5)UNSIGNED0赠送积分
product_numint(10)UNSIGNED0商品库存数
product_sellnumint(10)UNSIGNED0商品销售数
product_sellnum_virtualint(10)UNSIGNED0虚拟销售
product_clicknumint(10)UNSIGNED0商品点击数
product_collectnumint(10)UNSIGNED0商品收藏数
product_asknumint(10)UNSIGNED0商品咨询数
product_commentnumint(10)UNSIGNED0商品评价数
product_commentstarint(10)UNSIGNED0商品评价星级
product_tuijiantinyint(1)UNSIGNED0是否推荐
product_xinpintinyint(1)UNSIGNED0是否新品
product_orderint(10)UNSIGNED10000商品排序
product_atimeint(10)UNSIGNED0商品发布时间
product_statetinyint(1)UNSIGNED1商品状态
huodong_idint(10)UNSIGNED0活动ID
huodong_stimeint(10)UNSIGNED0活动开始时间
huodong_etimeint(10)UNSIGNED0活动结束时间
category_idsmallint(5)UNSIGNED商品分类ID
category_id2smallint(5)UNSIGNED0商品附加分类ID
brand_idsmallint(5)UNSIGNED0商品品牌ID
wlmb_idint(10)UNSIGNED0运费模板ID
product_guidchar(32)utf8_general_ci
product_typevarchar(10)utf8_general_cifixed商品类型
product_namevarchar(100)utf8_general_ci商品名称
product_keysvarchar(50)utf8_general_ci页面关键词
product_descvarchar(255)utf8_general_ci页面描述
product_logovarchar(255)utf8_general_ci商品缩略图
product_videovarchar(100)utf8_general_ci商品视频地址
product_markvarchar(20)utf8_general_ci商品货号
product_commentratevarchar(10)utf8_general_ci商品评价比例
huodong_typevarchar(10)utf8_general_ci活动类型
huodong_tagvarchar(10)utf8_general_ci活动标签
product_texttextutf8_general_ci商品详情
product_albumtextutf8_general_ci商品相册
product_ruletextutf8_general_ci规格数据集
product_zhekoutextutf8_general_ci会员折扣
product_moneydecimal(10,2)UNSIGNED0.00商品价格
product_ymoneydecimal(10,2)UNSIGNED0.00商品原价
product_wlmoneydecimal(10,2)UNSIGNED0.00商品物流价
product_weightdecimal(7,2)商品尺寸
huodong_moneydecimal(10,2)UNSIGNED0.00活动价
pe_prodata 商品规格表
名字类型整理属性默认额外注释
product_guidchar(32)utf8_general_ci商品规格唯一ID
product_idint(10)UNSIGNED0商品ID
product_pointint(10)UNSIGNED0
product_numint(10)UNSIGNED0剩余库存
product_ordertinyint(3)UNSIGNED1
product_ruleidvarchar(30)utf8_general_ci规格ID组合
product_rulenamevarchar(50)utf8_general_ci规格名组合
product_rulevarchar(255)utf8_general_ci规格数据集
product_snvarchar(30)utf8_general_ci商品编码
product_moneydecimal(10,2)UNSIGNED0.00商品价格
product_ymoneydecimal(10,2)UNSIGNED0.00商品原价
pe_quan 优惠券码表
名字类型整理属性默认额外注释
quan_idint(10)UNSIGNEDAUTO_INCREMENT优惠券自增ID
quan_limitnumint(10)UNSIGNED0每人限领
quan_numint(10)UNSIGNED0优惠券发行量
quan_num_getint(10)UNSIGNED0已领取数量
quan_num_useint(10)UNSIGNED0已使用数量
quan_atimeint(10)UNSIGNED0优惠券增加日期
quan_dayint(10)UNSIGNED0多少天内有效(当quan_datetype设置为relative时)
quan_statetinyint(1)UNSIGNED1优惠券状态,0过期|1有效
quan_sdatedate优惠券开始日期
quan_edatedate优惠券结束日期
quan_namevarchar(30)utf8_general_ci优惠券名称
quan_typevarchar(10)utf8_general_cionline发放方式
online线上领取
offline线下发放(口令兑换)
quan_datetypevarchar(10)utf8_general_ciabsolute有效日期
absolute固定日期区间
relative自领取日开始,N天内有效
quan_codechar(10)utf8_general_ci口令兑换
product_idtextutf8_general_ci商品ID
product_logovarchar(255)utf8_general_ci商品缩略图
quan_moneydecimal(10,1)UNSIGNED0.0优惠券面值
quan_limitdecimal(10,1)UNSIGNED0.0优惠券限制条件
满多少元可使用
pe_quanlog 优惠券码领取使用记录表
名字类型整理属性默认额外注释
quanlog_idint(10)UNSIGNEDAUTO_INCREMENT
quan_idint(10)UNSIGNED0
quan_moneyint(10)UNSIGNED0优惠券面值
quan_limitsmallint(5)UNSIGNED0优惠券限制条件
满多少元可使用
quanlog_atimeint(10)UNSIGNED0领取时间
quanlog_utimeint(10)UNSIGNED0使用日期
quanlog_statetinyint(1)UNSIGNED0优惠券状态
0未使用|1已使用|2过期
user_idint(10)UNSIGNED0会员ID
___quan_codechar(10)utf8_general_ci
quan_namevarchar(30)utf8_general_ci优惠券名称
user_namevarchar(20)utf8_general_ci会员名称
product_idtextutf8_general_ci
quan_sdatedate优惠券开始日期
quan_edatedate优惠券结束日期
pe_cart 购物车表
名字类型整理属性默认额外注释
cart_idint(10)UNSIGNEDAUTO_INCREMENT自增ID
cart_atimeint(10)UNSIGNED0
product_idint(10)UNSIGNED0
product_numsmallint(5)UNSIGNED1
huodong_idint(10)UNSIGNED0
pintuan_idbigint(15)UNSIGNED0
cart_actvarchar(10)utf8_general_cicart购买方式
add加入购物车/buy立即购买
cart_typevarchar(10)utf8_general_ci
product_guidchar(32)utf8_general_ci
product_namevarchar(100)utf8_general_ci
product_rulevarchar(255)utf8_general_ci规格数据集
product_logovarchar(255)utf8_general_ci
product_moneydecimal(10,2)UNSIGNED0.00
user_idvarchar(32)utf8_general_ci
pe_yzmlog 验证码记录表
名字类型整理属性默认额外注释
yzmlog_idint(10)UNSIGNEDAUTO_INCREMENT自增ID
yzmlog_atimeint(10)UNSIGNED0验证码发送时间
yzmlog_statetinyint(1)UNSIGNED0验证码状态
0待验证|1已验证
yzmlog_checknumtinyint(3)UNSIGNED0验证码检测失败次数
yzmlog_uservarchar(30)utf8_general_ci接收用户
手机号码|邮箱地址
yzmlog_valuevarchar(10)utf8_general_ci验证码值
yzmlog_sessidvarchar(50)utf8_general_ci发送用户sessionid
yzmlog_urlvarchar(255)utf8_general_ci发送来源
yzmlog_ipchar(15)utf8_general_ci验证码发送ip
yzmlog_adatedate
pe_buylog 商品购买记录表
名字类型整理属性默认额外注释
buylog_idint(10)UNSIGNEDAUTO_INCREMENT
buylog_numsmallint(5)UNSIGNED
buylog_atimeint(10)UNSIGNED0
buylog_adatedate
product_idint(10)UNSIGNED0商品ID
product_namevarchar(50)utf8_general_ci
product_rulevarchar(255)utf8_general_ci
product_logovarchar(255)utf8_general_ci
product_moneydecimal(10,2)0.00
user_idint(10)UNSIGNED0
user_namevarchar(20)utf8_general_ci
user_logovarchar(255)utf8_general_ci
pe_category 商品分类表
名字类型整理属性默认额外注释
category_idsmallint(5)UNSIGNEDAUTO_INCREMENT分类ID
category_pidsmallint(5)UNSIGNED0上级分类
category_namevarchar(30)utf8_general_ci分类名称
category_logovarchar(255)utf8_general_ci分类图标
category_titlevarchar(100)utf8_general_ci页面标题
category_keysvarchar(255)utf8_general_ci页面关键词
category_descvarchar(255)utf8_general_ci页面描述
category_statetinyint(1)UNSIGNED1开启状态,1开启|0关闭
category_ordersmallint(5)UNSIGNED0显示顺序
pe_brand 品牌分类表
名字类型整理属性默认额外注释
brand_idsmallint(5)UNSIGNEDAUTO_INCREMENT品牌ID
brand_namevarchar(30)utf8_general_ci品牌名称
brand_logovarchar(255)utf8_general_ci品牌Logo
brand_bannervarchar(255)utf8_general_ci品牌Banner
brand_textvarchar(255)utf8_general_ci品牌简介
brand_wordchar(1)utf8_general_ci
brand_ordersmallint(5)UNSIGNED0显示顺序
pe_userlevel 会员等级表
名字类型整理属性默认额外注释
userlevel_idsmallint(5)UNSIGNEDAUTO_INCREMENT会员等级ID
userlevel_namevarchar(10)utf8_general_ci会员等级名称/用户组名
userlevel_valueint(10)UNSIGNED0消费额满/用户组最大值
userlevel_logovarchar(100)utf8_general_ci用户组图标
userlevel_zhedecimal(3,2)UNSIGNED0.00享受折扣
userlevel_upvarchar(10)utf8_general_ciauto升级方式,auto自动升级|hand手动升级
pe_wlmb 运费模板表
名字类型整理属性默认额外注释
wlmb_idint(10)UNSIGNEDAUTO_INCREMENT
wlmb_namevarchar(20)utf8_general_ci模板名称
wlmb_typevarchar(10)utf8_general_ci计费方式,num按件数
wlmb_datatextutf8_general_ci运费设置
wlmb_atimeint(10)UNSIGNED添加时间
pe_footprint 会员浏览商品足迹记录表
名字类型整理属性默认额外注释
footprint_idint(10)UNSIGNEDAUTO_INCREMENT
footprint_atimeint(10)UNSIGNED0添加时间
footprint_utimeint(10)UNSIGNED0访问时间
会员每次访问都更新
product_idint(10)UNSIGNED0商品表pe_product.product_id
user_idint(10)UNSIGNED0会员表pe_user.user_id
product_namevarchar(30)utf8_general_ci商品表pe_product.product_name
product_logovarchar(255)utf8_general_ci商品表pe_product.product_logo
user_namevarchar(20)utf8_general_ci会员表pe_user.user_name
pe_collect 会员收藏商品记录表
名字类型整理属性默认额外注释
collect_idint(10)UNSIGNEDAUTO_INCREMENT
collect_atimeint(10)UNSIGNED0
product_idint(10)UNSIGNED0
user_idint(10)UNSIGNED0
product_namevarchar(100)utf8_general_ci
product_logovarchar(255)utf8_general_ci
user_namevarchar(20)utf8_general_ci
product_moneydecimal(10,2)UNSIGNED0.00
pe_payment 支付方式表
名字类型整理属性默认额外注释
payment_idtinyint(3)UNSIGNEDAUTO_INCREMENT
payment_ordertinyint(3)UNSIGNED0
payment_statetinyint(1)UNSIGNED1
payment_namevarchar(10)utf8_general_ci
payment_typevarchar(15)utf8_general_ci
payment_descvarchar(255)utf8_general_ci
payment_modeltextutf8_general_ci
payment_configtextutf8_general_ci
pe_order 订单表
名字类型整理属性默认额外注释
order_idbigint(15)UNSIGNED
pintuan_idbigint(15)UNSIGNED0拼团ID
huodong_idint(10)UNSIGNED0活动ID
user_idint(10)UNSIGNED会员ID
user_namevarchar(20)utf8_general_ci会员名称(用户名)
user_tnamevarchar(10)utf8_general_ci收件人姓名
user_phonechar(11)utf8_general_ci收件人手机号码
user_telvarchar(20)utf8_general_ci收件人座机号码
user_addressvarchar(255)utf8_general_ci详细地址
order_payidvarchar(50)utf8_general_ci付款表pe_pay.pay_id
order_outidvarchar(50)utf8_general_ci第三方支付订单号
order_typevarchar(10)utf8_general_ci订单类型(fixed/pintuan)
order_virtualtinyint(1)UNSIGNED0是否虚拟商品订单(0否|1是)
order_namevarchar(50)utf8_general_ci
order_moneydecimal(10,2)UNSIGNED0.00订单金额
order_product_moneydecimal(10,2)UNSIGNED0.00
order_quan_idint(10)UNSIGNED0
order_quan_moneyint(10)UNSIGNED0
order_quan_namevarchar(30)utf8_general_ci
order_point_getsmallint(5)UNSIGNED0
order_point_usesmallint(5)UNSIGNED0
order_point_moneydecimal(10,2)UNSIGNED0.00
order_wl_idvarchar(20)utf8_general_ci快递单号
order_wl_namevarchar(20)utf8_general_ci快递公司
order_wl_moneydecimal(10,2)UNSIGNED0.00运费(快递费用)
order_atimeint(10)UNSIGNED0下单时间
order_ptimeint(10)UNSIGNED0付款时间
order_stimeint(10)UNSIGNED0发货时间
order_ftimeint(10)UNSIGNED0完成时间
order_paymentvarchar(20)utf8_general_cialipay_js
order_payment_namevarchar(20)utf8_general_ci
order_statevarchar(10)utf8_general_ciwpay订单状态
order_pstatetinyint(1)UNSIGNED0付款状态
order_sstatetinyint(1)UNSIGNED0发货状态
order_printtinyint(1)UNSIGNED0是否打印
order_commenttinyint(1)UNSIGNED0
order_textvarchar(255)utf8_general_ci订单留言
order_closetextvarchar(255)utf8_general_ci订单关闭原因
order_remarkvarchar(255)utf8_general_ci卖家备注
pe_orderdata 订单内容表
名字类型整理属性默认额外注释
orderdata_idint(10)UNSIGNEDAUTO_INCREMENT
order_idbigint(15)UNSIGNED0订单表pe_order.order_id
product_guidchar(32)utf8_general_ci商品规格表pe_prodata.product_guid
商品规格唯一ID
product_idint(10)UNSIGNED0商品表pe_product.product_id
product_namevarchar(50)utf8_general_ci
product_rulevarchar(255)utf8_general_ci
product_logovarchar(255)utf8_general_ci
product_moneydecimal(10,2)0.00
product_jjmoneydecimal(10,2)0.00
product_allmoneydecimal(10,2)UNSIGNED0.00
product_numsmallint(5)UNSIGNED
product_snvarchar(30)utf8_general_ci
huodong_idint(10)UNSIGNED0活动ID
huodong_typevarchar(10)utf8_general_ci活动类型
huodong_tagvarchar(10)utf8_general_ci活动标签
refund_idbigint(15)UNSIGNED0
refund_statevarchar(10)utf8_general_ci
refund_moneydecimal(10,2)UNSIGNED0.00已退款金额
pe_pay 付款表
名字类型整理属性默认额外注释
pay_idvarchar(25)utf8_general_ci付款单ID
pay_typevarchar(20)utf8_general_cirechargerecharge|order
order_idvarchar(50)utf8_general_ci订单表pe_order.order_id
order_outidvarchar(50)utf8_general_ci第三方支付订单号
order_namevarchar(100)utf8_general_ci
order_datatextutf8_general_ci
order_statevarchar(10)utf8_general_ciwpay
order_paymentvarchar(20)utf8_general_cialipay_js支付方式类型
order_payment_namevarchar(20)utf8_general_ci支付方式名称
order_moneydecimal(10,2)UNSIGNED0.00
order_atimeint(10)UNSIGNED0下单时间
order_ptimeint(10)UNSIGNED0付款时间
order_pstatetinyint(1)UNSIGNED0付款状态
user_idint(10)UNSIGNED
user_namevarchar(20)utf8_general_ci
pe_refund 退款退货表
名字类型整理属性默认额外注释
refund_idbigint(15)UNSIGNED
refund_outidvarchar(50)utf8_general_ci
refund_typetinyint(3)UNSIGNED01仅退款|2退货+退款
refund_moneydecimal(10,2)UNSIGNED0.00退款金额
___refund_product_moneydecimal(10,1)UNSIGNED0.0
___refund_wl_moneydecimal(10,1)UNSIGNED0.0
refund_lasttinyint(1)UNSIGNED0是否最后一单可以退运费(0否|1是)
refund_textvarchar(255)utf8_general_ci申请原因
refund_tnamevarchar(10)utf8_general_ci
refund_phonevarchar(30)utf8_general_ci
refund_addressvarchar(50)utf8_general_ci
refund_wl_namevarchar(20)utf8_general_ci
refund_wl_idvarchar(20)utf8_general_ci
refund_atimeint(10)UNSIGNED0申请时间
refund_ftimeint(10)UNSIGNED0
refund_statevarchar(10)utf8_general_ciwcheckwcheck退款待审|wsend待买家寄回|wget待卖家收货
success退款成功|refuse退款拒绝|close退款关闭
refund_pstatevarchar(10)utf8_general_ciwpaywpay|wback|success|error
refund_perrorvarchar(30)utf8_general_ci
order_idvarchar(30)utf8_general_ci
order_paymentvarchar(20)utf8_general_ci
order_payment_namevarchar(20)utf8_general_ci
orderdata_idint(10)UNSIGNED0
product_idint(10)UNSIGNED0
product_guidchar(32)utf8_general_ci
product_namevarchar(50)utf8_general_ci
product_rulevarchar(255)utf8_general_ci
product_logovarchar(255)utf8_general_ci
product_moneydecimal(10,2)UNSIGNED0.00
product_jjmoneydecimal(10,2)0.00
product_allmoneydecimal(10,2)UNSIGNED0.00
product_numsmallint(5)UNSIGNED0
user_idint(10)UNSIGNED
user_namevarchar(20)utf8_general_ci
pe_refundlog 退款退货日志表
名字类型整理属性默认额外注释
refundlog_idint(10)UNSIGNEDAUTO_INCREMENT
refundlog_atimeint(10)UNSIGNED0记录时间
refundlog_texttextutf8_general_ci
refund_idbigint(15)UNSIGNED0
user_idint(10)UNSIGNED0
user_namevarchar(20)utf8_general_ci

建站咨询

咨询热线

微信咨询

返回顶部