- 博客(16)
- 收藏
- 关注
原创 query database error,read time out(mysql查询超时)
写查询sql时,若使用了 join连表查询,那么为on后面相关条件的表字段创建Btree索引将显著提高查询效率
2023-11-24 10:54:49
484
1
原创 controller层HttpServletRequest req的作用
以形式接收map前端queryParam对象中存储的值通过req.getParameter(“key”),获取
2023-10-24 18:19:19
165
原创 请求api.weixin.qq.com/wxa/business/getuserphonenumber,错误代码:40029, 错误信息:code 无效
遇到这么一个特例,用户微信绑定的手机号是我们系统里存储的手机号,可是使用这个接口api.weixin.qq.com/wxa/business/getuserphonenumber却报错,其他人都正常。后来只能我们手动为该用户添加号码,跳过了微信平台校验。猜测应该是微信系统没有存储这个电话号码。
2023-10-18 11:13:04
3358
1
原创 mybatisPlus,将queryWrapper作为参数传递到Mapper中,实现在Mapper.xml中使用mybatisplus的QueryWrapper
在mybatisPlus中,将queryWrapper作为参数传递到Mapper中;实现在Mapper.xml中使用mybatisplus的QueryWrapper
2023-10-11 15:32:41
1172
原创 Failed to connect to 127.0.0.1 port 7890 after 2034 ms: Couldn‘t connect to server
2023-04-24 14:37:34
3213
2
原创 Vue.config.productionTip = false无效
原因:刷新页面时,系统会先加载vue.js文件中的config.productionTip。解决办法:需要修改vue.js文件。
2023-04-17 15:23:44
245
原创 ValueError: invalid literal for int() with base 10: ‘5.3‘
python 中通过 casting来实现字符类型转换时,无法将小数类型的字符串转换为整型y = int("5.3")print(y)输出:ValueError: invalid literal for int() with base 10: ‘5.3’y = int("5")print(y)输出:5
2021-06-12 23:52:39
347
2
原创 TypeError: can only concatenate str (not “int“) to str
python中print(),不能同时输出文本和整型数字。1.错误示范x = 1print("数字哦"+ x)输出:TypeError: can only concatenate str (not “int”) to str2.正确示范x = "字符串"print("数字哦"+ x)输出:数字哦字符串...
2021-06-12 23:33:23
765
原创 AttributeError: partially initialized module ‘calendar‘ has no attribute ‘month‘
#python文件命名文件名不能与代码块名相同例如:import calendar # 输入指定年月yy = int(input("输入年份: "))mm = int(input("输入月份: ")) # 显示日历print(calendar.month(yy,mm))报错AttributeError: partially initialized module 'calendar' has no attribute 'month' (most likely due to a cir
2021-05-23 21:46:44
762
空空如也
uniapp的admin首次运行遇到 "文件查找失败"
2023-03-07
TA创建的收藏夹 TA关注的收藏夹
TA关注的人