专 科 毕 业 设计(论文)
基于 SSM 框架的大学生网上购物系统
题 目 __________________________________
指导教师__________________________
辅导教师__________________________
学生姓名__________________________
学生学号__________________________
______________________________学院 ____________________________专业____班
计专 1663
计算机应用技术
______年 ___月 ___日
2019
4
6
中文摘要
基于 ssm 框架的大学生网上购物系统
摘 要
本文开发了一个关于大学生购物的系统,本系统实现了前后端的分离,主要分为三个
角色,即游客,用户和管理员,游客可以浏览商品,但无法购买和加入购物车商品,游客
可以通过注册变为用户,登陆后用户可以浏览商品,购买商品,加入购物车和查看我的订
单;管理员可以管理商品。本系统主要是基于 ssm 框架实现的购物系统。
经过可行性分析、需求分析、系统设计、详细设计、系统实现和系统测试等一系列基
本步骤,需要实现用户的登陆,注册,购买商品,加入购物车和查看我的订单五个功能。
系统设计良好、方便各类用户的使用。
关键词:购物;ssm 框架
Ⅰ
ABSTRACT
Online shopping system for college students based on SSM
framework
ABSTRACT
This paper developed a system about college students' shopping, this system has realized
the before and after the separation, mainly divided into three roles, namely visitors, users and
administrators, visitors can browse the merchandise, but cannot buy and add to cart, visitors can
be registered to users, users can browse the goods after landing, the purchase of goods, add to
cart and check my order; Administrators can manage merchandise. This system is mainly based
on the implementation of the SSM framework shopping system.
After a series of basic steps such as feasibility analysis, demand analysis, system design,
detailed design, system implementation and system test, I need to realize the five functions of
user login, registration, purchase of goods, add to the shopping cart and view my order. The
system is well designed and convenient for all kinds of users.
Key words: shopping,SSM framework
Ⅰ
目 录
前言.................................................................................................................................................1
1 绪论 ...................................................................... 2
1.1 本课题的研究意义及必要性 .............................................. 2
1.2 相关领域国内外应用的现状及发展趋势 .................................... 2
1.3 研究意义 .............................................................. 3
2 系统基础技术与相关体系结构 ................................................ 4
2.1 开发语言简介 .......................................................... 4
2.2 框架与架构简介 ........................................................ 4
2.3 数据库简介 ............................................................ 5
2.4 系统运行环境简介 ...................................................... 6
2.4.1Tomcat 简介 ........................................................ 6
2.4.2Eclipse 简介 ....................................................... 6
3 系统分析与设计 ............................................................ 7
3.1 可行性分析 ............................................................ 7
3.2 系统用例 .............................................................. 7
3.3 系统流程和逻辑 ........................................................ 8
3.4 编程环境与工具 ........................................................ 8
4 系统概要设计 ............................................................. 10
4.1 概述 ................................................................. 10
4.2 系统结构 ............................................................. 10
4.3 数据库设计 ........................................................... 11
4.3.1 系统涉及的 E-R 图和主要数据表 ..................................... 12
5 系统详细设计与实现 ....................................................... 15
5.1 系统首页 ............................................................. 15
5.2 用户登陆和注册 ....................................................... 16
5.2.1 用户注册 ......................................................... 16
5.2.2 用户登陆 ......................................................... 17
5.2.3 用户信息修改 ..................................................... 17
5.3 购物车 ............................................................... 18
5.4 产品详细信息 ......................................................... 18
5.5 商品分类 ............................................................. 19
5.6 订单模块 ............................................................. 21