Introduction to the blogger: Author of "Vue.js Introduction and Actual Mall Development" and "WeChat Mini Program Mall Development", CSDN blog expert, online education expert, CSDN diamond lecturer; focus on graduation design education and counseling for college students.
All projects come with basic knowledge video courses from entry to mastery, free of charge
The project is equipped with corresponding development documents, proposal report, task statement, PPT, thesis template, etc.
Contact details are available at the end of the article
Development Summary
Development operating system: windows10 + 4G memory + 500G
Mini program development: WeChat developer tools (MINA framework)
Backend environment: PHPstudy integrated environment
Backend development language: PHP
Backend development tool: Dreamweaver or PhpStorm (choose your own development tool)
Database: mysql8
Database management tool: navicat
Other development languages: html + css +javascript
Database ER diagram
Backend management system files
Path: The background source code ht directory is the background
Green shows the system framework, don’t move it
Location |
program name |
illustrate |
Source code root directory |
login.php |
Backend login page |
Source code root directory |
check_u_login.php |
Background login handler |
ht Backend root directory |
index.php |
Background Home |
left.php |
Backstage left menu |
|
u_logout.php |
sign out |
|
ht/quanxian password management |
mima.php |
Password change page |
mima_act.php |
Password change program |
|
ht/zixun Information |
zixun_add.php |
Information entry page |
zixun_add_act.php |
Information entry database program |
|
zixun_list.php |
Information list |
|
zixun_xiugai.php |
Information modification page |
|
zixun_xiugai_act.php |
Information modification procedure |
|
zixun_del.php |
information removal process |
|
ht/ guanggao Advertisements and messages |
ad_index_wx.php |
Carousel settings page |
ad_index_wx_baocun |
Carousel chart setting program processing |
|
liuyan_list.php |
Message List |
|
liuyan_delt.php |
Delete message |
|
ht/huiyuan member |
hy_list.php |
member list |
hy_del.php |
Member delete |
|
ht/ jiaoyi Trading Center |
caidan_1ji.php |
Transaction classification settings |
jiaoyi_list.php |
transaction list |
|
jiaoyi_del.php |
transaction delete |
|
dingdan_list.php |
Order List |
|
dingdan_del.php |
Order deletion |
Mini program interface file
Mini program interface
program name |
Include |
|
front page |
wx_lunbo.php |
Get the top carousel image array (multiple images) |
wx_news_list.php |
Get 3 latest news |
|
wx_jiaoyi_xinxi_top5.php |
Get the latest 5 transaction information |
|
For Sale Listing |
wx_fenlei_1ji.php |
Get category |
wx_jiaoyi_gong_list.php |
Get the latest supply information |
|
release |
wx_fenlei_1ji.php |
Get category |
phpup/upload_file.php |
upload image |
|
wx_jiaoyi_xinxi_add.php |
Submit Information |
|
Want list |
wx_fenlei_1ji.php |
Get category |
wx_jiaoyi_qiu_list.php |
Get the latest supply information |
|
Transaction Details |
wx_jiaoyi_liulanliang.php |
Increase pageviews |
wx_jiaoyi_xinxi.php |
Read transaction information based on id |
|
wx_jiaoyi_dianzan.php |
like |
|
wx_jiaoyi_shoucang.php |
collect |
|
wx_jiaoyi_dingdan_add.php |
buy order |
|
Information information |
wx_news_list_byid.php |
Get information list |
wx_news_info.php |
Get information Details |
|
message |
wx_api_liuyan.php |
Submit Message |
member |
wx_check_reg_yonghu.php |
Ordinary user registration |
wx_check_login_yonghu.php |
Ordinary user login |
|
wx_check_reg_yonghu-weixin.php |
WeChat login |
|
wx_jiaoyi_fabu_list_byuid.php |
Get your own published information |
|
wx_jiaoyi_fabu_list_del.php |
Delete the information you posted |
|
wx_jiaoyi_shoucang_list.php |
load my favorites list |
|
wx_jiaoyi_shoucang_del.php |
delete my favorites |
|
wx_dingdan_chushou_list.php |
My sell order list |
|
wx_dingdan_chushou_fahuo.php |
提交发货信息 |
|
wx_dingdan_goumai_del.php |
取消订单 |
|
wx_dingdan_goumai_list.php |
我的购买订单列表 |
|
wx_dingdan_goumai_fukuan.php |
模拟付款 |
|
wx_dingdan_goumai_del.php |
取消订单 |
|
wx_dingdan_goumai_shouhuo.php |
收货确认 |
|
wx_huiyuan_xinxi_byid.php |
读取会员信息 |
|
wx_huiyuan_xinxi_update_byid.php |
更新会员信息 |
|
wx_huiyuan_mima_act.php |
密码修改 |
数据库表
广告表:guanggao
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
wz1 |
longtext |
广告1的文字 |
tpdz1 |
longtext |
广告1的图片地址 |
ljdz1 |
longtext |
广告1的链接地址 |
wz2 |
longtext |
广告2的文字 |
tpdz2 |
longtext |
广告2的图片地址 |
ljdz2 |
longtext |
广告2的链接地址 |
wz3 |
longtext |
广告3的文字 |
tpdz3 |
longtext |
广告3的图片地址 |
ljdz3 |
longtext |
广告3的链接地址 |
会员表:huiyuan
字段名 |
类型 |
备注 |
id |
int |
自动递增;菜单的id(主键),不允许空 |
shouji |
varchar |
手机号:用户名 |
mima |
varchar |
密码 |
xingming |
varchar |
姓名 |
|
varchar |
QQ号 |
|
varchar |
|
wx_openid |
varchar |
登录微信的openid |
wx_nicheng |
varchar |
微信昵称 |
wx_touxiang |
varchar |
微信头像图片地址 |
add_riqi |
date |
写入数据库日期 |
add_shijian |
datetime |
写入数据库时间 |
beizhu |
text |
备注 |
会员地址表:huiyuan_dizhi
字段名 |
类型 |
备注 |
id |
int(11) |
自动递增;菜单的id(主键),不允许空 |
xingming |
varchar(50) |
收货人:姓名 |
shouji |
varchar(50) |
收货人:手机 |
diqu1 |
varchar(50) |
收货人:1级地区 |
diqu2 |
varchar(50) |
收货人:2级地区 |
diqu3 |
varchar(50) |
收货人:3级地区 |
dizhi |
varchar(250) |
收货人:详细地址 |
yn_moren |
tinyint |
是否默认收货人,0普通,1表示默认 |
u_id |
int(11) |
用户id 外键,是哪个用户的收货人信息,是用户表的id |
留言表:liuyan
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
xingming |
varchar |
姓名 |
dianhua |
varchar |
电话 |
youxiang |
varchar |
邮箱 |
zhuti |
varchar |
主题 |
neirong |
longtext |
内容 |
riqi |
datetime |
留言录入数据库的日期 |
shijian |
datetime |
留言录入数据库的时间 |
资讯表:zixun
字段名 |
类型 |
备注 |
id |
Int(11) |
自动递增;菜单的id(主键),不允许空 |
xinxi_lxid1 |
int(11) |
外键:信息1级类型的id,参考资讯类型表的id |
xinxi_biaoti |
varchar(250) |
信息标题 |
xinxi_riqi |
date |
信息日期 |
xinxi_neirong |
text |
内容: |
add_riqi |
date |
写入数据库日期 |
add_shijian |
datetime |
写入数据库时间 |
资讯分类表:zixun_fenlei
字段名 |
类型 |
备注 |
id |
Int(11) |
自动递增;菜单的id(主键),不允许空 |
caidan_mingcheng |
varchar(50) |
菜单名称,允许空 |
paixu_id |
int(11) |
排序数字,数字大的在前面,允许空 |
订单表:dingdan
字段名 |
类型 |
备注 |
id |
Int(11) |
自动递增;菜单的id(主键),不允许空 |
danhao |
Int(11) |
单号; |
u_id |
Int(11) |
用户id; |
u_ip |
varchar(50) |
ip地址;用户注册时候的ip地址;允许空 |
dizhi_id |
Int(11) |
地址id;外键,对应地址表的id; |
beizhu_dingdan |
varchar(250) |
订单备注;允许空 |
feiyong_chengjiao |
double |
成交费用; |
zt |
Int(11) |
订单状态; 状态值:1在购物车;2下单未付款;3已付款,还没发货;4已经发货;5用户已收货 |
shijian_xiadan |
datetime |
下单时间; |
shijian_fukuan |
datetime |
订单付款时间; |
shijian_fahuo |
datetime |
订单发货时间; |
shijian_shouhuo |
datetime |
订单收货时间; |
beizhu_fahuo |
varchar(250) |
订单发货备注信息; 后台管理员可见,用户不可见 |
beizhu_caozuo |
varchar(250) |
订单操作信息 后台管理员可见,用户不可见 |
pinglun_yn |
varchar(50) |
是否评论,默认是否 值:是|否 |
pinglun_id |
int(11) |
评论id,外键,默认是0 刚下单的订单该值是0,只有用户确认收货然后评论后该值对应评论表的id |
商品分类表:shangpin_fenlei
字段名 |
类型 |
备注 |
id |
Int(11) |
自动递增;菜单的id(主键),不允许空 |
caidan_mingcheng |
varchar(50) |
菜单名称,允许空 |
paixu_id |
int(11) |
排序数字,数字大的在前面,允许空 |
交易商品分类表:shangpin_fenlei
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
caidan_mingcheng |
varchar |
菜单名称,允许空 |
caidan_lujing |
varchar |
菜单路径,允许空 |
caidan_jibie |
int |
菜单级别,允许空 这里做到2级:值可以是:1 | 2 |
caidan_suoshu |
in |
菜单所属上级菜单的id,允许空 |
交易表:jiaoyi
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
lxid1 |
int |
1级大类的id |
lxid2 |
int |
2级大类的id |
gqlx |
gqlx |
供求类型:1供应(卖)2求购(买) |
u_id |
gqlx |
发布信息的用户id |
biaoti |
varchar |
title |
miaoshu |
text |
describe |
xingming |
varchar |
Contact name |
shouji |
varchar |
Contact mobile phone |
tupian |
varchar |
Uploaded pictures, the first picture is displayed by default |
tupians |
text |
Uploaded pictures, multiple pictures separated by commas |
shu_liulan |
int |
Traffic volume |
shu_zan |
int |
Number of likes |
shu_guanzhu |
int |
Attention |
add_date |
date |
date |
add_time |
datetime |
date time |
Transaction order form: jiaoyi_dingdan
Field name |
type |
Remark |
id |
Int |
Automatically increment; menu id (primary key), empty is not allowed |
u_id |
int |
user id |
jiaoyi_id |
int |
transaction id |
xingming |
varchar |
Consignee name |
dianhua |
varchar |
Consignee's phone number |
dizhi |
varchar |
recipient address |
add_date |
date |
write database time |
add_time |
datetime |
Write database date |
zt |
int |
Status: 1 order placed, 2 paid, 3 shipped, 4 received |
jiage |
int |
price |
wuliu |
varchar |
logistics |
shijian_fukuan |
datetime |
Payment time |
shijian_fahuo |
datetime |
Shipping time |
shijian_shouhuo |
datetime |
Time of receipt |
Transaction collection table: jiaoyi_shoucang
Field name |
type |
Remark |
id |
Int |
Automatically increment; menu id (primary key), empty is not allowed |
jiaoyi_id |
int |
transaction id |
u_id |
int |
user id |
hold |
date |
date |
shijian |
datetime |
date time |
Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/47/1608.html