上一页 1 2 3 4 5 6 7 8 9 10 ··· 31 下一页
摘要: 挠头一小时,解决一秒钟。 直接上代码 1生成新的 tab标签页 html <button class="layui-btn layuiadmin-btn-useradmin" id="openNewTabBtn" >添加</button> js layui.use(['element', 'tabl 阅读全文
posted @ 2024-04-06 21:34 79524795 阅读(1079) 评论(0) 推荐(0)
摘要: 直接上代码 xm-select.js下载地址https://pan.baidu.com/s/1YXDsr9tn8EOeX0vEzPwGdQ?pwd=nvdv 提取码:nvdv 第一步: 下载 第二步: 引入 xm-select.js 第三步: 写一个`<div id="demo1"></div>` 阅读全文
posted @ 2024-04-06 20:03 79524795 阅读(1562) 评论(0) 推荐(0)
摘要: 直接上代码 <?php // 加密数据 function encryptData($data, $encryption_key, $iv){ return openssl_encrypt($data, 'aes-256-cbc', $encryption_key, 0, $iv); } // 解密数 阅读全文
posted @ 2024-04-03 17:43 79524795 阅读(229) 评论(0) 推荐(0)
摘要: 如图 在设置URL 时候,微信会给你的url以GET方式传入 signature timestamp nonce echostr几个值,和验证token处理数据返回的echostr 代码如下 (我添加了写入日志文件的 操作) $DOCUMENT_ROOT = $_SERVER['DOCUMENT_R 阅读全文
posted @ 2024-04-01 17:55 79524795 阅读(76) 评论(0) 推荐(0)
摘要: 案例代码 逻辑层 if (!empty($title)) { $condition[] = [ 'title', 'like', '%' . $title . '%' ]; } $condition[] = [ 'delete', '=','0' ]; $order_by = 'addtime de 阅读全文
posted @ 2024-03-26 15:50 79524795 阅读(23) 评论(0) 推荐(0)
摘要: 直接上带代码 uni.getLocation({ type: 'wgs84', // 定位类型,支持的值:'wgs84'、'gcj02'。'wgs84' 返回 gps 坐标,'gcj02' 返回可用于uni.openLocation的坐标 success: function (res) { cons 阅读全文
posted @ 2024-03-13 17:01 79524795 阅读(66) 评论(0) 推荐(0)
摘要: 终端连接数据库(以root账号登陆) mysql -u root -p 输入命令(我这里账号密码为shop2密码为shop2,要替换为你自己的账号密码) GRANT ALL PRIVILEGES ON *.* TO 'shop2'@'%' IDENTIFIED BY 'shop2' WITH GRA 阅读全文
posted @ 2024-03-05 15:04 79524795 阅读(25) 评论(0) 推荐(0)
摘要: 1.查找PHP版本:首先,你需要知道服务器上安装了哪些PHP版本。你可以通过运行以下命令来查找安装在服务器上的所有PHP版本 ls -l /www/server/php/ 切换PHP版本:一旦确定你想要切换到的PHP版本,你可以通过更新系统的php命令链接来切换版本。例如,如果你想要切换到PHP 7 阅读全文
posted @ 2024-03-01 16:19 79524795 阅读(1326) 评论(0) 推荐(0)
摘要: https://beautifier.io/ 阅读全文
posted @ 2024-02-05 23:54 79524795 阅读(33) 评论(0) 推荐(0)
摘要: 安装 import Hls from 'hls.js'; 视频框 <template> <div class="video-container"> <video ref="videoPlayer" controls></video> </div> </template> 使用 hls.js 初始化视 阅读全文
posted @ 2024-01-20 13:54 79524795 阅读(346) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 31 下一页