校园网店的设计与实现

目 录
Abstract
More and more students begin to follow the taobaos tide began to open stores, some have made some achievements, the vast majority has no obvious effect.I think, a lot of taobaos online store, users still focus on students, therefore, if we have a school, even the international education park online mall, so their products also have consumption object, the students dont need to worry about buy counterfeit products.Therefore, with this in mind, do I do the campus store, hope to be able to solve most problems.The APP contains qr code scanning function, users can register and then log in, then to the commodity list to browse all of the goods, click on the commodities enter details can undertake orders, of course, it also change the password, retrieve password, we ca *好棒文|www.hbsrm.com +Q: %3^5`1^9`1^6^0`7^2# 
n through the mail back your password.
Keywords: android,KSHOP,Campus online store
引 言
课题背景
如今哪样的购物方式最方便快捷呢?想必大家第一反应就是网购。是的,当今的网络商城非常火爆,因而,好多的大学生利用课余时间,也都开起了属于自己的网店,所以我就想起了做这个毕业设计,更是期望它能够在校内得到试用。
选题意义
因为现在越来越多的人开始跟着淘宝的潮流开了属于自己的网店,但是绝大多数的同学都没有获得明显的收益。仔细想了一下,应该没有太多客户关注到他们的店铺。我认为,淘宝的网上商城的绝大多数的用户还是集中在学生人群的,因而,如果我们有一个校内的,哪怕是国际教育园内的网上商城,那么他们的商品也就有了消费对象,同学们也不需要担心买到的事假冒产品了。因此,我就带着这种想法,做了该校园网店,希望能够解决多数疑难问题。
现在处于设计的初级阶段,因而只是显示实现了移动端(APP)的效果,但是,其他的模块,我也有带着设计。
设计目标
帮助绝大数开网店的同学解决消费人群的问题,同时减少伪劣假冒的情况,因为毕竟消费者是学生,店家也是学生,在安全上都有一定的保障。还有一点不可忽略的是,可以大大的减少送货的速度,实现即可送货、定点送货的难点,货到付款。
一、需求分析
功能分析
该app主要有:二维码扫描、用户注册,用户登录,即可预览商品列表、商品详情、下订单、修改密码、找回密码;先阶段只是实现了用户、游客的功能,待开发功能有店家详情、店家登录查看订单等等一系列的问题。
E-R模型图
(三)开发环境
数据库工具:SQL Server
开发语言:java
开发工具:MyEclipse、Eclipse
二、软件设计
功能结构图
采用一般网店的设计流程,从注册—登录—查看—下单一系列的流程,如图2-1-1所示:
系统流程图
根据购物流程设计的系统流程图,如图2-2-1所示:

图2-2-1 系统流程图
数据库关系图
根据账户与订单的关系设计了数据库关系图,如图2-3-1所示:
数据库设计
用户信息表用于存储用户注册时填写的相关信息:
表4-1 用户信息表
序号
列名
类型
长度
允许为空
描述

1
id
int
4
否
主键

2
userName
varchar
20
否
用户名

3
passWord
varchar
20
否
密码

4
Birth
varchar
20
否
生日

5
Gender
varchar
20
否
性别

6
Mobile
varchar
20
否
手机号

7
Tel
varchar
20
否
电话

8
email
varchar
50
否
邮箱

9
Time
varchar
50
否
注册时间

10
status
int
4
否
状态


商品信息表用于存储商品详情的相关信息:
允许为空
描述

1
id
int
4
否
主键
productName
varchar
30
否
商品名

3
introduction
否
商品图片路径

6
表4-3 商品颜色信息表
序号
列名
类型

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/rjgc/1795.html

好棒文