摘要: 1:可能是__tablename__ 设置错误 2:视图views中没有导入相应的模型 阅读全文
posted @ 2020-10-18 22:08 程序员小艺 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-10-11 16:11 程序员小艺 阅读(217) 评论(0) 推荐(0) 编辑
摘要: thinkphp5.1集成swoole使用命令: php think swoole之后 报错信息: [think\exception\ErrorException] Uncaught think\exception\ErrorException: Swoole\Http\Response::writ 阅读全文
posted @ 2020-09-01 22:15 程序员小艺 阅读(2701) 评论(0) 推荐(0) 编辑
摘要: // js上传worldvar fileM=document.querySelector("#uploadFile");$("input[name=world]").change(function(){ // console.log($("input[name=world]")[0].files); 阅读全文
posted @ 2020-08-31 23:39 程序员小艺 阅读(1021) 评论(0) 推荐(0) 编辑
摘要: 从Swoole4.3版本开始,底层对内存长度做了对齐处理。字符串长度必须是8的整数倍,如果长度为18字节会自动对其到24字节。注意非x86环境则内存对齐。'cache_size' => 8000,//必须是8的倍数 直接修改config/swoole.php即可 阅读全文
posted @ 2020-08-23 15:21 程序员小艺 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: grant all privileges on *.* to root @"%" identified by "root"; 报错: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 阅读全文
posted @ 2020-08-15 12:51 程序员小艺 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 查看日志记录点位置:show binlog events in 'mysql-bin.000002'; 恢复语句:mysqlbinlog --start-position=2608 --stop-position=3250 -d 数据库名称 --skip-gtids mysql-bin.000001 阅读全文
posted @ 2020-08-14 15:21 程序员小艺 阅读(124) 评论(0) 推荐(0) 编辑
摘要: https://www.cs.usfca.edu/~galles/visualization/Algorithms.html 阅读全文
posted @ 2020-08-13 12:36 程序员小艺 阅读(508) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name www.jxc.com; root "D:/phpstudy_pro/WWW/jxc"; location / { index index.php index.html; error_page 400 /error/400.html; 阅读全文
posted @ 2020-07-18 08:58 程序员小艺 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 在本地测试没问题是正确的格式服务器返回后就在接送前面多了\ufeff 导致接送无法解析 原因:一般情况是因为整个项目中有文件是utf-8有BOM编码的文件造成的 阅读全文
posted @ 2020-07-16 22:33 程序员小艺 阅读(317) 评论(0) 推荐(0) 编辑