Graduation project based on the WeChat second-hand trading applet (3) Development of technical documents

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

Purpose : The main goal of this project is to design and implement a campus second-hand transaction applet system based on WeChat. Front-end users use the applet, and back-end management uses a B/S architecture based on PHP+MySql; through the back-end management of information, member management, and classification management , transaction information management, message management, etc. Users can log in through the mini program to view the latest announcement information of the platform, publish their own transaction information, etc.

Significance : The campus second-hand transaction applet system based on WeChat is a product of the combination of computer technology and market transaction management. Through the applet intra-city transaction information system, efficient management of transaction information is achieved. With the continuous improvement of computer technology, computers have penetrated into every corner of social life. However, the method of manually managing and publishing transaction information is not only inefficient, error-prone, cumbersome, but also consumes a lot of manpower. In order to satisfy the market management personnel’s management of transaction information, announcement information management, and trading personnel, on the premise that the market management staff have certain computer operation capabilities, this intra-city trading information system software based on small programs is specially compiled to improve trading. Information management efficiency.

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

收藏

wx_jiaoyi_dingdan_add.php

购买下单

资讯信息

wx_news_list_byid.php

获取资讯列表

wx_news_info.php 

获取资讯信息详情

留言

wx_api_liuyan.php

提交留言

会员

wx_check_reg_yonghu.php

普通用户注册

wx_check_login_yonghu.php

普通用户登录

wx_check_reg_yonghu-weixin.php

微信登录

wx_jiaoyi_fabu_list_byuid.php

获取自己发布的信息

wx_jiaoyi_fabu_list_del.php

删除自己发布的信息

wx_jiaoyi_shoucang_list.php

加载我的收藏列表

wx_jiaoyi_shoucang_del.php

删除我的收藏

wx_dingdan_chushou_list.php

我的出售订单列表

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

姓名

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

留言表: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

标题

miaoshu

text

描述

xingming

varchar

联系人姓名

shouji

varchar

联系人手机

tupian

varchar

上传的图片,默认第一张图片显示

tupians

text

上传的图片,多个图片逗号分隔

shu_liulan

int

流量量

shu_zan

int

点赞量

shu_guanzhu

int

关注量

add_date

date

日期

add_time

datetime

日期时间

交易订单表:jiaoyi_dingdan

字段名

类型

备注

id

Int

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

u_id

int

用户id

jiaoyi_id

int

交易id

xingming

varchar

收货人姓名

dianhua

varchar

收货人电话

dizhi

varchar

收货人地址

add_date

date

写入数据库时间

add_time

datetime

写入数据库日期

zt

int

状态:1下单,2已支付,3已发货,4已收货

jiage

int

价格

wuliu

varchar

物流

shijian_fukuan

datetime

付款时间

shijian_fahuo

datetime

发货时间

shijian_shouhuo

datetime

收货时间

交易收藏表:jiaoyi_shoucang

字段名

类型

备注

id

Int

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

jiaoyi_id

int

交易id

u_id

int

用户id

riqi

date

日期

shijian

datetime

日期时间

Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/47/1611.html

Guess you like

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