Skip to content

Commit

Permalink
修改了一个手误导致的错别字
Browse files Browse the repository at this point in the history
  • Loading branch information
taopeng-life authored and anruence committed Dec 10, 2021
1 parent dc42df5 commit bc02008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/code-solve.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

> 秒杀注意事项以及整体简略设计
#### [1.如何解决卖超问题]()
--在sql加上判断防止数据边为负数
--在sql加上判断防止数据变为负数
--数据库加唯一索引防止用户重复购买
--redis预减库存减少数据库访问 内存标记减少redis访问 请求先入队列缓冲,异步下单,增强用户体验

Expand Down Expand Up @@ -175,4 +175,4 @@
│ └── miaosha-message-web
│ └── miaosha-message-common

0 comments on commit bc02008

Please sign in to comment.