Development of technical documents based on the final graduation project (3) of the WeChat campus shared laundry applet

Introduction to the blogger: Author of the books "Introduction to Vue.js and Practical Mall Development" and "WeChat Mini Program Mall Development", CSDN blog expert, online education expert, CSDN Diamond Lecturer; focusing on graduation design education and tutoring 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

image.png

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/ shezhi

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/shangpin

Laundry (Commodity) Center

caidan_1ji.php

Laundry type management

sp_add.php

Laundry service and price entry page

sp_add_act.php

Laundry service and price entry program

sp_list.php

Laundry services and price list

sp_del.php

Laundry services and prices removed

sp_xiugai.php

Laundry services and price modification page

sp_xiugai_act.php

Laundry Services and Price Modification Procedures

dd_list.php

Laundry service and price order list

dd_chuli.php

Laundry service and price order processing

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_CpList_top4.php 

Latest laundry services (4)

Information

wx_news_list_byid.php

Get information list

wx_news_info.php 

Get information details

Laundry classification

wx_fenlei.php

Load left category

wx_api_CpList_All.php

Load all laundry services

laundry service

wx_sp_info-a.php

Get an introduction

wx_sp_info-b.php

Get detailed introduction

wx_gwc_add.php

Add to cart (purchase) interface

wx_shoucang_add.php

Collection interface

wx_Pinlun_list.php

Get list of comments

laundry list

shopping cart

wx_gwc_list.php

Get shopping cart list

wx_gwc_del.php

Delete shopping cart

wx_gwc_shuxiugai.php

Update shopping cart data

wx_gwc_feiyong.php

Get cart cost

Order page

wx_gwc_list.php

Get order shopping cart product information

wx_dizhi_list.php

Get address list

wx_dizhi_add.php

Enter the order address

wx_gwc_xiadan.php

Submit order information

Comment page

wx_AddPinLun.php

submit comments

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_dingdan_list.php

加载洗衣订单列表

wx_dingdan_fukuan.php

模拟付款

wx_dingdan_del.php

取消订单

wx_dingdan_shouhuo.php

确认收货

wx_dizhi_list.php

加载地址列表

wx_dizhi_moren.php

设置默认地址

wx_dizhi_Del.php

收货地址信息删除

wx_dizhi_add.php

录入收货地址

wx_dizhi_info.php

读取收货地址

wx_dizhi_edit.php

更新收货地址

wx_shoucang_list.php

获取收藏列表

wx_shoucang_del.php

删除收藏

wx_huiyuan_xinxi_byid.php

读取会员信息

wx_huiyuan_xinxi_update_byid.php

更新会员信息

wx_huiyuan_mima_act.php

密码修改

数据库表

订单表:dingdan

字段名

类型

备注

id

Int(11)

自动递增;菜单的id(主键),不允许空

danhao

Int(11)

单号

u_id

Int(11)

用户id

dizhi_id

Int(11)

地址id;外键,对应地址表的id;

beizhu_dingdan

varchar(250)

订单备注;允许空

feiyong_chengjiao

double

成交费用;

zt

Int(11)

订单状态;

状态值:1在购物车;2已下单,未付款;3已付款,待取件;4已取件,洗衣中;5洗衣完,送件中;6用户收件ok

shijian_xiadan

datetime

下单时间;

shijian_fukuan

datetime

订单付款时间;

shijian_shouhuo

datetime

订单收货时间;

beizhu_fahuo

varchar(250)

订单发货备注信息;

后台管理员可见,用户不可见

beizhu_caozuo

varchar(250)

订单操作信息

后台管理员可见,用户不可见

购物车表:gouwuche

字段名

类型

备注

id

int(11)

自动递增;菜单的id(主键),不允许空

u_id

int(11)

用户id;

cp_id

int(11)

产品id

cp_mingcheng

varchar(255)

产品名称

jiage_shichang

double

市场价格

jiage_chengjiao

double

成交价格

cp_shuliang

int(11)

产品(购买)数量

zt

Int(11)

订单状态;

状态值:1在购物车;2已下单,未付款;3已付款,待取件;4已取件,洗衣中;5洗衣完,送件中;6用户收件ok

shijian_gouwuche

datetime

加入购物车时间

shijian_xiadan

datetime

下单时间

danhao

Int(11)

单号,该购物车当前属于哪个订单,下单后才会有单号

pinglun_yn

varchar(50)

是否评论,默认是否

值:是|否

广告表: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

姓名

qq

varchar

QQ号

email

varchar

Email

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

会员评价表:huiyuan_pingjia

字段名

类型

备注

id

int(11)

自动递增;菜单的id(主键),不允许空

danhao

int(11)

单号

外键,是哪个单号中产品的评价

cpid

int(11)

产品id

外键,是哪个产品的评价

xing

int(11)

几星

值:1-5

neirong

longtext

评价内容

u_id

int(11)

用户id

外键,是哪个用户的评价,是用户表的id

riqi

datetime

评价的日期

shijian

datetime

评价的时间

会员收藏表:huiyuan_shoucang

字段名

类型

备注

id

int(11)

自动递增;菜单的id(主键),不允许空

cpid

int(11)

产品id

外键,是收藏的哪个产品,对应产品表的id

u_id

int(11)

用户id

外键,是哪个用户的收藏,是用户表的id

riqi

datetime

收藏商品的日期

shijian

datetime

收藏商品的时间

留言表:liuyan

字段名

类型

备注

id

Int

自动递增;菜单的id(主键),不允许空

xingming

varchar

姓名

dianhua

varchar

电话

youxiang

varchar

邮箱

zhuti

varchar

主题

neirong

longtext

内容

riqi

datetime

留言录入数据库的日期

shijian

datetime

留言录入数据库的时间

Product classification table: shangpin_fenlei

Field name

type

Remark

id

Int(11)

Automatically increment; menu id (primary key), empty is not allowed

caidan_mingcheng

varchar(50)

Menu name, empty allowed

paixu_id

int(11)

Sort the numbers, with larger numbers in front, allowing empty spaces

Product list: shangpin

Field name

type

Remark

id

intA(11)

Automatically increment; menu id (primary key), empty is not allowed

mingcheng

varchar(250)

product name

lx_id1

int(11)

The id of the product level 1 type, refer to the id of the product type table

kucun

int(11)

in stock

yixiaoshou

int(11)

sold

jiage1

double

round price

cp_tupian

varchar(250)

Product main picture

cp_tupian_in

tinyint(4)

Does the product have pictures attached?

cp_tupian1

varchar(250)

Product drawing 1

cp_tupian2

varchar(250)

Product drawing 2

cp_tupian3

varchar(250)

Product drawing 3

cp_tupian4

varchar(250)

Product drawing 4

zhuangtai_yn

tinyint(4)

Product status: 0 is on the shelves normally, 1 is off the shelves,

jianjie_yn

tinyint(4)

Whether there is an introduction: 0 normal, 1 with introduction

jianjie

text

Introduction content

neirong

text

Content: Detailed product introduction

fabu_riqi

date

release date:

add_riqi

date

add_shijian

datetime

Information table: zixun

Field name

type

Remark

id

Int(11)

Automatically increment; menu id (primary key), empty is not allowed

xinxi_lxid1

int(11)

Foreign key: the id of the information level 1 type, refer to the id of the information type table

xinxi_biaoti

varchar(250)

Message title

xinxi_riqi

date

Information date

xinxi_neirong

text

content:

add_riqi

date

Write database date

add_shijian

datetime

Write time to database

Information classification table: zixun_fenlei

Field name

type

Remark

id

Int(11)

Automatically increment; menu id (primary key), empty is not allowed

caidan_mingcheng

varchar(50)

Menu name, empty allowed

paixu_id

int(11)

Sort the numbers, with larger numbers in front, allowing empty spaces

Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/50/1656.html

Guess you like

Origin blog.csdn.net/u013818205/article/details/132849161