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

phpshe数据库字典

0
pe_user 会员表
名字类型整理属性默认额外注释
user_idint(10)UNSIGNEDAUTO_INCREMENT用户ID
user_namevarchar(20)utf8_general_ci用户名
user_pwchar(32)utf8_general_ci登录密码
user_paypwchar(32)utf8_general_ci支付密码
user_logovarchar(100)utf8_general_ci用户头像
user_moneydecimal(10,1)UNSIGNED0.0账户余额
user_money_costdecimal(10,1)UNSIGNED0.0总消费额
user_money_tgdecimal(10,1)UNSIGNED0.0推广总收益
user_pointint(10)UNSIGNED0帐户积分余额
user_point_allint(10)UNSIGNED0累计获得积分
user_tnamevarchar(10)utf8_general_ci用户姓名
user_phonechar(11)utf8_general_ci用户手机
user_telvarchar(20)utf8_general_ci固定电话
user_qqvarchar(10)utf8_general_ci用户QQ
user_emailvarchar(30)utf8_general_ci用户邮箱
user_atimeint(10)UNSIGNED0用户注册时间
user_ltimeint(10)UNSIGNED0用户上次登录时间
user_addressvarchar(255)utf8_general_ci用户地址
user_ordernumint(10)UNSIGNED0
user_ipchar(15)utf8_general_ci用户注册IP
user_wx_openidvarchar(50)utf8_general_ci
userlevel_idsmallint(5)UNSIGNED0用户等级ID
tguser_idint(10)UNSIGNED0推广用户ID
tguser_namevarchar(20)utf8_general_ci推广用户名
pe_userbank 会员收款账户表
名字类型整理属性默认额外注释
userbank_idint(10)UNSIGNEDAUTO_INCREMENT
userbank_namevarchar(20)utf8_general_ci
userbank_numvarchar(50)utf8_general_ci
userbank_typevarchar(10)utf8_general_ci银行标识
userbank_tnamevarchar(10)utf8_general_ci账户姓名
userbank_addressvarchar(50)utf8_general_ci
userbank_atimeint(10)UNSIGNED0绑定日期
user_idint(10)UNSIGNED0用户ID,取值于表pe_user.user_id字段值
user_namevarchar(20)utf8_general_ci用户名
pe_cashout 提现记录表
名字类型整理属性默认额外注释
cashout_idint(10)UNSIGNEDAUTO_INCREMENT
cashout_moneydecimal(10,2)UNSIGNED0.00提现金额(数据库表里实际存储的值是:提现金额-提现手续费)
cashout_feedecimal(5,2)UNSIGNED0.00提现手续费
cashout_atimeint(10)UNSIGNED0申请日期
cashout_ptimeint(10)UNSIGNED0结算日期
cashout_statetinyint(1)UNSIGNED0处理结果(0待审核、1已结算、2已取消)
cashout_ipchar(15)utf8_general_ci提交提现申请的IP地址
cashout_banknamevarchar(20)utf8_general_ci账户类型
cashout_banknumvarchar(50)utf8_general_ci银行账号/卡号
cashout_banktnamevarchar(10)utf8_general_ci账户名
cashout_bankaddressvarchar(50)utf8_general_ci开户行
user_idint(10)UNSIGNED0用户ID
user_namevarchar(30)utf8_general_ci用户名
pe_moneylog 用户资金明细表
名字类型整理属性默认额外注释
moneylog_idint(10)UNSIGNEDAUTO_INCREMENT
moneylog_typevarchar(10)utf8_general_ciadd、cashout、back
moneylog_indecimal(10,2)UNSIGNED0.00收入
moneylog_outdecimal(10,2)UNSIGNED0.00支出
moneylog_nowdecimal(10,2)UNSIGNED0.00当前结余
moneylog_atimeint(10)UNSIGNED0时间
moneylog_textvarchar(255)utf8_general_ci
user_idint(10)UNSIGNED0用户ID
user_namevarchar(30)utf8_general_ci用户名
pe_pointlog 用户积分明细表
名字类型整理属性默认额外注释
pointlog_idint(10)UNSIGNEDAUTO_INCREMENT
pointlog_typevarchar(10)utf8_general_ci积分类型
pointlog_inint(10)UNSIGNED0积分收入
pointlog_outint(10)UNSIGNED0积分支出
pointlog_nowint(10)UNSIGNED0当前结余
pointlog_atimeint(10)UNSIGNED0操作时间
pointlog_textvarchar(255)utf8_general_ci备注
user_idint(10)UNSIGNED0用户ID
user_namevarchar(30)utf8_general_ci用户名
pe_payment 支付方式表
名字类型整理属性默认额外注释
payment_idtinyint(3)UNSIGNEDAUTO_INCREMENT
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
payment_ordertinyint(3)UNSIGNED0
payment_statetinyint(1)UNSIGNED1是否启用
0停用
1启用
pe_quan 优惠券
名字类型整理属性默认额外注释
quan_idint(10)UNSIGNEDAUTO_INCREMENT
quan_namevarchar(30)utf8_general_ci优惠券名称
quan_typevarchar(10)utf8_general_cionline发放方式(online线上领取、offline线下发放)
quan_moneyint(10)UNSIGNED0优惠券面值
quan_limitsmallint(5)UNSIGNED0优惠券限制条件
quan_numint(10)UNSIGNED0优惠券发行量
quan_num_getint(10)UNSIGNED0
quan_num_useint(10)UNSIGNED0
quan_atimeint(10)UNSIGNED0优惠券增加日期
quan_sdatedate优惠券开始日期
quan_edatedate优惠券结束日期
product_idtextutf8_general_ci商品ID
pe_order
名字类型整理属性默认额外注释
order_idbigint(15)UNSIGNED订单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,1)UNSIGNED0.0订单金额
order_product_moneydecimal(10,1)UNSIGNED0.0
order_quan_idint(10)UNSIGNED0
order_quan_namevarchar(30)utf8_general_ci
order_quan_moneyint(10)UNSIGNED0
order_point_getsmallint(5)UNSIGNED0
order_point_usesmallint(5)UNSIGNED0
order_point_moneydecimal(10,1)UNSIGNED0.0
order_wl_idvarchar(20)utf8_general_ci
order_wl_namevarchar(20)utf8_general_ci
order_wl_moneydecimal(5,1)UNSIGNED0.0
order_atimeint(10)UNSIGNED0下单时间
order_ptimeint(10)UNSIGNED0付款时间
order_stimeint(10)UNSIGNED0发货时间
order_ftimeint(10)UNSIGNED0完成时间
order_paymentvarchar(10)utf8_general_cialipay_js支付方式类型
order_payment_namevarchar(20)utf8_general_ci支付方式名称
order_commenttinyint(1)UNSIGNED0
order_statevarchar(10)utf8_general_ciwpay
order_pstatetinyint(1)UNSIGNED0付款状态
order_sstatetinyint(1)UNSIGNED0发货状态
order_textvarchar(255)utf8_general_ci订单留言
order_closetextvarchar(255)utf8_general_ci订单关闭原因
huodong_idint(10)UNSIGNED0活动ID
pintuan_idbigint(15)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收货详细地址
pe_order_pay
名字类型整理属性默认额外注释
order_idvarchar(25)utf8_general_ci订单ID
order_outidvarchar(50)utf8_general_ci
order_namevarchar(50)utf8_general_ci
order_moneydecimal(10,1)UNSIGNED0.0订单金额
order_statevarchar(10)utf8_general_ciwpay
order_paymentvarchar(10)utf8_general_cialipay_js支付方式类型
order_payment_namevarchar(20)utf8_general_ci支付方式名称
order_atimeint(10)UNSIGNED0下单时间
order_ptimeint(10)UNSIGNED0付款时间
order_pstatetinyint(1)UNSIGNED0付款状态
user_idint(10)UNSIGNED用户ID
user_namevarchar(20)utf8_general_ci用户名
pe_refund
名字类型整理属性默认额外注释
refund_idbigint(15)UNSIGNED
refund_outidvarchar(50)utf8_general_ci
refund_typetinyint(3)UNSIGNED0
refund_moneydecimal(10,1)UNSIGNED0.0
refund_product_moneydecimal(10,1)UNSIGNED0.0
refund_wl_moneydecimal(10,1)UNSIGNED0.0
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_ciwcheck
refund_pstatetinyint(1)0
refund_presultvarchar(50)utf8_general_ci
order_idvarchar(30)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(200)utf8_general_ci
product_moneydecimal(10,1)UNSIGNED0.0
product_jjmoneydecimal(10,1)0.0商品加减价格
product_allmoneydecimal(10,1)UNSIGNED0.0
product_numsmallint(5)UNSIGNED0
user_idint(10)UNSIGNED用户ID
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
pe_product
名字类型整理属性默认额外注释
product_idsmallint(5)UNSIGNED商品ID
product_guidint(10)UNSIGNED0
product_typevarchar(10)utf8_general_cinormal商品类型
product_namevarchar(100)utf8_general_ci商品名称
product_texttextutf8_general_ci商品描述
product_keysvarchar(50)utf8_general_ci页面关键词(keywords)
product_descvarchar(255)utf8_general_ci页面描述(description)
product_logovarchar(100)utf8_general_ci商品logo
product_albumtextutf8_general_ci商品相册
product_moneydecimal(10,1)UNSIGNED0.0商品商城价(有活动即活动价)
product_smoneydecimal(10,1)UNSIGNED0.0
product_mmoneydecimal(10,1)UNSIGNED0.0商品市场价
product_wlmoneydecimal(5,1)UNSIGNED0.0商品物流价
product_pointsmallint(5)UNSIGNED0赠送积分
product_markvarchar(20)utf8_general_ci商品货号
product_weightdecimal(7,2)商品重量
product_statetinyint(1)UNSIGNED1商品状态
product_atimeint(10)UNSIGNED0商品发布时间
product_ordersmallint(5)UNSIGNED10000商品排序
product_numsmallint(5)UNSIGNED商品库存数
product_sellnumint(10)UNSIGNED0商品销售数
product_clicknumint(10)UNSIGNED0商品点击数
product_collectnumint(10)UNSIGNED0商品收藏数
product_asknumint(10)UNSIGNED0商品咨询数
product_commentnumint(10)UNSIGNED0商品评价数
product_commentratevarchar(10)utf8_general_ci商品评价比例
product_commentstarint(10)UNSIGNED0商品评价星级
product_istuijiantinyint(1)UNSIGNED0
product_ruletextutf8_general_ci规格数据集
prokey_typevarchar(10)utf8_general_ci点卡发放类型
prokey_uservarchar(50)utf8_general_ci点卡账号
prokey_pwvarchar(50)utf8_general_ci点卡密码
prokey_edatedate点卡有效期
huodong_idint(10)UNSIGNED0活动ID
huodong_typevarchar(10)utf8_general_ci活动类型
huodong_tagvarchar(10)utf8_general_ci活动标签
huodong_stimeint(10)UNSIGNED0活动开始时间
huodong_etimeint(10)UNSIGNED0活动结束时间
category_idsmallint(5)UNSIGNED商品分类ID
brand_idsmallint(5)UNSIGNED0品牌ID
rule_idvarchar(30)utf8_general_ci商品规格ID
pe_prodata
名字类型整理属性默认额外注释
product_guidint(10)UNSIGNEDAUTO_INCREMENT商品规格ID
product_idint(10)UNSIGNED0商品ID
product_ruleidvarchar(30)utf8_general_ci规格ID组合
product_rulenamevarchar(50)utf8_general_ci规格名组合
product_rulevarchar(255)utf8_general_ci规格数据集
product_moneydecimal(10,1)UNSIGNED0.0真实售价(有活动即活动价)
product_smoneydecimal(10,1)UNSIGNED0.0商城价
product_mmoneydecimal(10,1)UNSIGNED0.0市场价
product_numint(10)UNSIGNED0剩余库存
product_ordertinyint(3)UNSIGNED1
pe_category 商品分类
名字类型整理属性默认额外注释
category_idsmallint(5)UNSIGNEDAUTO_INCREMENT商品分类ID
category_pidsmallint(5)UNSIGNED0上级分类
category_namevarchar(30)utf8_general_ci分类名称
category_titlevarchar(100)utf8_general_ci页面标题
category_keysvarchar(255)utf8_general_ci页面关键词
category_descvarchar(255)utf8_general_ci页面描述
category_ordersmallint(5)UNSIGNED0分类排序
pe_rule 商品规格
名字类型整理属性默认额外注释
rule_idsmallint(5)UNSIGNED规格ID
rule_namevarchar(20)utf8_general_ci规格名称
rule_memovarchar(20)utf8_general_ci规格备注
pe_ruledata 商品规格值
名字类型整理属性默认额外注释
ruledata_idsmallint(5)UNSIGNEDAUTO_INCREMENT规格值ID
ruledata_namevarchar(20)utf8_general_ci规格值名
ruledata_logovarchar(100)utf8_general_ci规格值图
ruledata_ordersmallint(5)UNSIGNED0规格值排序
rule_idsmallint(5)UNSIGNED0规格ID

建站咨询

咨询热线

微信咨询

返回顶部