上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 70 下一页
摘要: 在多个用户同时发起对同一个商品的下单请求时,先查询商品库存,再修改商品库存,会出现资源竞争问题,导致库存的最终结果出现异常。 解决办法:悲观锁 当查询某条记录时,即让数据库为该记录加锁,锁住记录后别人无法操作,使用类似如下语法 select stock from tb_sku where id=1 阅读全文
posted @ 2021-11-05 11:36 不带R的墨菲特 阅读(198) 评论(0) 推荐(0)
摘要: 1.idea 专业版 2.maven3.6 3.springboot 创建项目: 1. new project : 下一步: 选取web下一步: 由于新建是没有webapp但是可以自己新建: web.xml <?xml version="1.0" encoding="UTF-8"?> <web-ap 阅读全文
posted @ 2021-09-25 22:59 不带R的墨菲特 阅读(60) 评论(0) 推荐(0)
摘要: xmind2Excel 1.0.1 xmind2testcase 1.5.0 xxmind 1.0.1Python -c "from xmind2Excel.main import Main; Main()" 代码实现解析xmind: import xmindparser import pandas 阅读全文
posted @ 2021-09-18 19:15 不带R的墨菲特 阅读(107) 评论(0) 推荐(0)
摘要: 问题一: 使用mysql --verbose --help | grep my.cnf 命令常看my.cnf文件位置 vim 修改my.cnf [mysqld] Only allow connections from localhost bind-address = 127.0.0.1 发现确实只绑 阅读全文
posted @ 2021-09-17 23:45 不带R的墨菲特 阅读(219) 评论(0) 推荐(0)
摘要: 第一: brew install mysql 第二: which mysql_conf vim mysql_conf 第三找到此处修改为以下内容: # Create options libs="-L$pkglibdir" libs="$libs -lmysqlclient -lssl -lcrypt 阅读全文
posted @ 2021-09-16 21:08 不带R的墨菲特 阅读(140) 评论(0) 推荐(0)
摘要: APScheduler==3.7.0 asgiref==3.3.4 backcall==0.2.0 certifi==2020.12.5 chardet==4.0.0 colorama==0.4.4 coreapi==2.3.3 coreschema==0.0.4 decorator==4.4.2 阅读全文
posted @ 2021-09-16 20:24 不带R的墨菲特 阅读(40) 评论(0) 推荐(0)
摘要: 链接: https://pan.baidu.com/s/1SD5BmB-9mOs4simWaTPv2Q 提取码: n376 教程: 1.安装pycharm 2.移动jar包到bin目录 3.修改vmoptions 配置 加入参数: 4.重启 5》输入jihuo码: 阅读全文
posted @ 2021-09-12 17:59 不带R的墨菲特 阅读(132) 评论(0) 推荐(0)
摘要: 下载python3.6.6 https://www.python.org/ftp/python/3.6.6/python-3.6.6-macosx10.9.pkg #. open. ~/.bash_profile 添加如下配置pip 和python3 : alias python="/usr/loc 阅读全文
posted @ 2021-09-11 23:09 不带R的墨菲特 阅读(532) 评论(0) 推荐(0)
摘要: # 替换brew.git: $ cd "$(brew --repo)" # 清华大学: $ git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git # 替换homebrew-core.g 阅读全文
posted @ 2021-09-11 21:48 不带R的墨菲特 阅读(64) 评论(0) 推荐(0)
摘要: <template> <a-card title="用户-角色-关联" style="margin-top: 40px;"> <a-tree v-model="checkedKeys" checkable :expanded-keys="expandedKeys" :auto-expand-pare 阅读全文
posted @ 2021-09-03 12:11 不带R的墨菲特 阅读(52) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 70 下一页