14.项目总结
    
            
摘要:一、分层 二、扩展 三、github / 和彩云 https://github.com/ws678/miaoshaProject.git 链接: https://caiyun.139.com/m/i?145CFLBdYpnFq 提取码:W11z 复制内容打开和彩云手机APP,操作更方便哦
        
阅读全文
 
        
            
    13.交易 - 秒杀模块(省略了秒杀商品的新增)
    
            
摘要:一、sql /* Navicat Premium Data Transfer Source Server : testOne Source Server Type : MySQL Source Server Version : 80028 Source Host : localhost:3306 S
        
阅读全文
 
        
            
    12.交易模块终章
    
            
摘要:一、sql /* Navicat Premium Data Transfer Source Server : testOne Source Server Type : MySQL Source Server Version : 80028 Source Host : localhost:3306 S
        
阅读全文
 
        
            
    11.交易模型创建
    
            
摘要:一、OrderModel 1 package com.miaoshaProject.service.model; 2 3 import java.math.BigDecimal; 4 5 /** 6 * @Author wangshuo 7 * @Date 2022/4/20, 8:45 8 * 用
        
阅读全文
 
        
            
    10.商品模块终章- 商品列表 / 商品详情
    
            
摘要:一、ItemServiceImpl 1 package com.miaoshaProject.service.impl; 2 3 import com.miaoshaProject.dao.ItemDOMapper; 4 import com.miaoshaProject.dao.ItemStock
        
阅读全文
 
        
            
    9.商品模型创建
    
            
摘要:一、pom.xml 1 <overwrite>false</overwrite> 二、ItemModel 1 package com.miaoshaProject.service.model; 2 3 import java.io.Serializable; 4 import java.math.B
        
阅读全文
 
        
            
    8.用户模块终章:  Login.html / 优化model校验规则
    
            
摘要:零、 login.html / SessionInterceptor <html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="assets/global/plugins/bootstrap/css/bootstrap.min
        
阅读全文
 
        
            
    7.用户注册 / 验证码校验(session处理)  / 拦截器
    
            
摘要:项目层级 零、register.html / BaseController(v1.1)/ getotp.html(v1.1) 1 <html> 2 <head> 3 <meta charset="UTF-8"> 4 <link rel="stylesheet" href="assets/global
        
阅读全文
 
        
            
    6.验证码获取 / 前后端分离-简单的前台页面
    
            
摘要:UserController 1 package com.miaoshaProject.controller; 2 3 import com.miaoshaProject.controller.viewobject.UserVO; 4 import com.miaoshaProject.error.
        
阅读全文
 
        
            
    5.通用的error处理
    
            
摘要:项目层级 CommonError 1 package com.miaoshaProject.error; 2 3 /** 4 * @Author wangshuo 5 * @Date 2022/4/14, 8:39 6 * Please add a comment 7 */ 8 public int
        
阅读全文
 
        
            
    4.定义通用的返回对象
    
            
摘要:项目层级 CommonReturnType 1 package com.miaoshaProject.response; 2 3 /** 4 * @Author wangshuo 5 * @Date 2022/4/13, 8:36 6 * Please add a comment 7 */ 8 pu
        
阅读全文
 
        
            
    3.搭建mvc / 编写根据id获取user对象业务
    
            
摘要:项目层级 UserModel 1 package com.miaoshaProject.service.model; 2 3 /** 4 * @Author wangshuo 5 * @Date 2022/4/12, 19:46 6 * Please add a comment 7 */ 8 pub
        
阅读全文
 
        
            
    2.框架搭建
    
            
摘要:一、 1 <parent> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-parent</artifactId> 4 <version>2.0.5.RELEASE</version> 5
        
阅读全文