会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
79524795
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
31
下一页
2024年4月1日
微信公众号服务器配置
摘要: 如图 在设置URL 时候,微信会给你的url以GET方式传入 signature timestamp nonce echostr几个值,和验证token处理数据返回的echostr 代码如下 (我添加了写入日志文件的 操作) $DOCUMENT_ROOT = $_SERVER['DOCUMENT_R
阅读全文
posted @ 2024-04-01 17:55 79524795
阅读(71)
评论(0)
推荐(0)
2024年3月26日
niushop模型查询格式 以DB方式查询
摘要: 案例代码 逻辑层 if (!empty($title)) { $condition[] = [ 'title', 'like', '%' . $title . '%' ]; } $condition[] = [ 'delete', '=','0' ]; $order_by = 'addtime de
阅读全文
posted @ 2024-03-26 15:50 79524795
阅读(18)
评论(0)
推荐(0)
2024年3月13日
Uniapp定位
摘要: 直接上带代码 uni.getLocation({ type: 'wgs84', // 定位类型,支持的值:'wgs84'、'gcj02'。'wgs84' 返回 gps 坐标,'gcj02' 返回可用于uni.openLocation的坐标 success: function (res) { cons
阅读全文
posted @ 2024-03-13 17:01 79524795
阅读(61)
评论(0)
推荐(0)
2024年3月5日
数据库连接报错is not allowed to connect to this mysql server-解决方案
摘要: 终端连接数据库(以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
阅读(18)
评论(0)
推荐(0)
2024年3月1日
宝塔服务器终端更换php版本
摘要: 1.查找PHP版本:首先,你需要知道服务器上安装了哪些PHP版本。你可以通过运行以下命令来查找安装在服务器上的所有PHP版本 ls -l /www/server/php/ 切换PHP版本:一旦确定你想要切换到的PHP版本,你可以通过更新系统的php命令链接来切换版本。例如,如果你想要切换到PHP 7
阅读全文
posted @ 2024-03-01 16:19 79524795
阅读(1296)
评论(0)
推荐(0)
2024年2月5日
反编译压缩后的html和JS
摘要: https://beautifier.io/
阅读全文
posted @ 2024-02-05 23:54 79524795
阅读(33)
评论(0)
推荐(0)
2024年1月20日
Uniapp -Vue直播推流播放
摘要: 安装 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
阅读(328)
评论(0)
推荐(0)
2024年1月14日
Fastadmin源码破解账号密码
摘要: 文件位置:/www/wwwroot/域名/application/admin/controller/Index.php $this->auth->login就在 文件位置:/www/wwwroot/域名/application/admin/library/Auth.php 通过打印 MD5 和 加盐
阅读全文
posted @ 2024-01-14 02:36 79524795
阅读(780)
评论(0)
推荐(0)
2023年12月28日
公众号发送模板消息案例
摘要: 后台代码 //注意公众号的openid和小程序的 openid不是同一个 $this->sendmuban($openid); public function sendmuban($openid){ // 公众号的 $appId = '**************'; $appSecret = '*
阅读全文
posted @ 2023-12-28 15:02 79524795
阅读(71)
评论(0)
推荐(0)
小程序发送订阅消息(前后端)
摘要: uniapp代码 uni.requestSubscribeMessage({ tmplIds: ['*****你的订阅消息模板ID1****', '******你的订阅消息模板ID2****' ], success(res) { if (res['******你的订阅消息模板ID1****'] 'a
阅读全文
posted @ 2023-12-28 14:54 79524795
阅读(128)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
31
下一页
公告