扩展性太差了,每加一点功能方法就要增加参数,从控制层进来就应该用对象来接参数而不是@RequestParam来接,而且创建订单的时候数量根本就不应该通过页面传过来,如果有人恶意破坏,下单一次,数量传个大的数字过来,直接他一个人就能抢没了
2019-07-01
大神帮忙看看
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate failed: Cannot resolve classpath entry: E:\IDEA\miaosha\src\m
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate failed: Cannot resolve classpath entry: E:\IDEA\miaosha\src\m
2019-06-25