上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: 修改宝塔命令行PHP版本: 方法1: 方法2:1.rm -f /usr/bin/php (删除默认版本软连接)2.ln -s /www/server/php/73/bin/php /usr/bin/php (需要切换的版本的地址) 3.php -v查看当前版本 阅读全文
posted @ 2025-03-07 11:46 幽暗天琴 阅读(126) 评论(0) 推荐(0)
摘要: 一、代码实例://需要成功引入并使用redis$redis = RedisManager::$redis;// 生产者:将订单加入队列(右端插入)function producer($orderId,$redis) { $redis->rPush('task_queue', $orderId); p 阅读全文
posted @ 2025-03-06 18:07 幽暗天琴 阅读(52) 评论(0) 推荐(0)
摘要: 手动实现防抖示例: <script>export default { // ...其他代码 data() { return { // ...其他数据 scrollTimeout: null, }; }, methods: { chatscroll(event) { clearTimeout(this 阅读全文
posted @ 2025-03-06 14:28 幽暗天琴 阅读(64) 评论(0) 推荐(0)
摘要: 一、建立SQL.js,内容如下: class SQL { constructor(plus) { // 数据库名称一个软件只需要一个库这里写死 this.name = 'sqlite_mine_sql'; this.prefix = 'im_'; //数据表前缀 this.plus = plus; 阅读全文
posted @ 2025-02-26 20:10 幽暗天琴 阅读(1704) 评论(0) 推荐(0)
摘要: Vue打包exe : https://gitee.com/zqylzcwcxy/variable-generation-tool 网址打包成exe文件:https://blog.nanzhi.vip/?article_id=13&type=blog 阅读全文
posted @ 2024-12-24 18:05 幽暗天琴 阅读(68) 评论(0) 推荐(0)
摘要: mobileBase() { // #ifdef APP-PLUS if (plus.os.name == "Android") { //这里是安卓 console.log('安卓'); } else { //这里是IOSconsole.log('IOS'); } // #endif // #ifd 阅读全文
posted @ 2024-11-29 18:10 幽暗天琴 阅读(242) 评论(0) 推荐(0)
摘要: // 给定时间戳$currentTime = $time;//例如time()// 获取当前小时$currentHour = date('H', $currentTime);// 获取当前时间的分钟部分$currentMinute = date('i', $currentTime);// 计算当前分 阅读全文
posted @ 2024-11-12 16:13 幽暗天琴 阅读(52) 评论(0) 推荐(0)
摘要: 自动任务设置shell脚本每分钟执行一次 #!/bin/bashPATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binexport PATH #每隔10秒执行step=10for (( i = 0; i < 59 阅读全文
posted @ 2024-10-21 12:45 幽暗天琴 阅读(267) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_51808107/article/details/132588092 阅读全文
posted @ 2024-09-11 15:55 幽暗天琴 阅读(9) 评论(0) 推荐(0)
摘要: 文档:https://docker.easydoc.net/doc/81170005/cCewZWoN/lTKfePfP 教程:https://www.bilibili.com/video/BV11L411g7U1/?p=2&spm_id_from=pageDriver&vd_source=93de 阅读全文
posted @ 2024-08-19 17:24 幽暗天琴 阅读(19) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页