AI
推荐
模板社区
专题
登录
免费注册
首页
思维导图
详情
秒杀系统设计
2016-06-26 09:31:31
0
举报
分享方式
仅支持查看
AI智能生成
慕课网(www.imooc.com)《Java高并发秒杀API》课程中的设计思维导图
Java
高并发
系统设计
模板推荐
作者其他创作
大纲/内容
业务分析
减库存
记录购买明细
数据库设计
库存明细表:seckill
seckill_id
name
create_time
start_time
end_time
number
秒杀明细表:success_killed
seckill_id
name
user_phone
create_time
state
DAO接口设计
DAO
SeckillDAO
Seckill queryById(Long seckillId)
int reduceNumber(Long seckillId, Date time)
List<Seckill> queryAll(int offet, int limit)
SuccessKilledDAO
int insertSuccessKilled(Long seckillId, Long userPhone)
SuccessKilled queryByIdWithSeckill(Long seckillId)
spring集成mybatis配置:spring-dao.xml
junit4测试
单元测试
集成测试
Service接口设计
DTO
SeckillService
List<Seckill> getSeckillList()
Seckill getById(Long seckillId)
Exposer exportSeckillUrl(Long seckillId)
SeckillExcution excuteSeckill(Long seckillId, Long userPhone, String md5)
spring管理service依赖:spring-service.xml
junit4测试
单元测试
集成测试
Web层设计<span style="display: none; width: 0px; height: 0px;" id="transmark"></span>
controller
SeckillController
list:/seckill/list
detail:/seckill/{seckillId}/detail
exposer
execute
result
SeckillResult<T><span style="display: none; width: 0px; height: 0px;" id="transmark"></span>
jsp/js<span style="display: none; width: 0px; height: 0px;" id="transmark"></span>
javascript模块化<span style="display: none; width: 0px; height: 0px;" id="transmark"></span>
jQuery和插件
bootstrap
spring mvc配置:spring-web.xml
收藏
立即使用
产品核心功能
收藏
立即使用
产品基础功能
收藏
立即使用
组合业务流程
收藏
立即使用
策略业务流程
ranjiexu
职业:软件开发
去主页
Collect
Get Started
商品秒杀系统流程图
Collect
Get Started
秒杀系统设计
Collect
Get Started
秒杀秘籍
Collect
Get Started
秒杀系统设计
评论
0
条评论
下一页
图形选择
思维导图
主题
补充说明
AI生成
修改AI描述
去编辑
重新生成
提示
关闭后当前内容将不会保存,是否继续?
取消
确定
Document