07 2021 档案
python 死循环
摘要:import requests; import json; var = 1 x = 1 while var == 1: x = x + 1 print(x); r = requests.get(url="http://localhost:80/get?orderNo=123123"); print( 阅读全文
posted @ 2021-07-12 10:55 oktokeep 阅读(202) 评论(0) 推荐(0)
redis 锁
摘要:demo1 public ErrorCode initDemo1(@RequestParam("orderNo") String orderNo) throws IOException { String lockKey = KEY + orderNo; Boolean hasKey = null; 阅读全文
posted @ 2021-07-12 10:52 oktokeep 阅读(108) 评论(1) 推荐(0)