上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: 数据库容灾备份,服务器A的数据库备份到B服务器。 原文链接:https://blog.nanzhi.vip/?article_id=28&type=blog 阅读全文
posted @ 2025-08-05 14:55 幽暗天琴 阅读(11) 评论(0) 推荐(0)
摘要: 效果:A服务器的数据库A1数据改变时,B服务器的数据库A1的从库B1同步变化。 原文地址:https://blog.nanzhi.vip/?article_id=27&type=blog 阅读全文
posted @ 2025-08-04 19:18 幽暗天琴 阅读(18) 评论(0) 推荐(0)
摘要: https://blog.nanzhi.vip/?article_id=9&type=url 阅读全文
posted @ 2025-07-31 15:15 幽暗天琴 阅读(8) 评论(0) 推荐(0)
摘要: https://www.emojiall.com/ 预览: 阅读全文
posted @ 2025-07-30 18:02 幽暗天琴 阅读(14) 评论(0) 推荐(0)
摘要: 1. 允许所有依赖更新 使用 Composer 的 --with-all-dependencies 选项来允许升级、降级或删除当前锁定到特定版本的包: composer update --with-all-dependencies 这将尝试更新所有依赖项,以解决版本冲突。 阅读全文
posted @ 2025-06-25 05:34 幽暗天琴 阅读(32) 评论(0) 推荐(0)
摘要: 谷歌邮箱 1.登录邮箱 2.开启两步验证:https://myaccount.google.com/security 3.生成应用专用密码:https://myaccount.google.com/apppasswords 4.网站配置参数: MAIL_DRIVER=smtpMAIL_HOST=sm 阅读全文
posted @ 2025-06-19 15:56 幽暗天琴 阅读(188) 评论(0) 推荐(0)
摘要: /** * 文件或图片转换http或者添加域名 */ imgHttp(content) { if (content.includes("http:")) { // console.log("包含 http:"); } else { // console.log("不包含 http:"); conte 阅读全文
posted @ 2025-06-15 00:22 幽暗天琴 阅读(42) 评论(0) 推荐(0)
摘要: 要在 MySQL 中将 article_translations 表的 body 字段中的所有 "11.com" 替换为 "222.com",可以使用 ​​REPLACE() 函数​​ 结合 ​​UPDATE 语句​​: ​​方法 1:直接使用 REPLACE() 函数​​ UPDATE artic 阅读全文
posted @ 2025-06-09 12:01 幽暗天琴 阅读(135) 评论(0) 推荐(0)
摘要: 1.在项目根目录下载依赖 go get github.com/gin-contrib/cors 2.在main.go合适位置添加 // 配置 CORSr.Use(cors.New(cors.Config{ AllowOrigins: []string{"*"}, // 允许所有来源(生产环境建议改成 阅读全文
posted @ 2025-06-05 15:56 幽暗天琴 阅读(26) 评论(0) 推荐(0)
摘要: 查看端口占用:sudo netstat -tuln | grep 7272netstat -tulnp | grep 2346sudo lsof -i :1247 杀掉进程端口:kill 7272sudo kill -9 13000关闭多个进程:kill -9 16754 20379 20380 查 阅读全文
posted @ 2025-06-05 12:06 幽暗天琴 阅读(15) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页