首页
直播
壁纸
友链
搜索
1
微信小程序支付全链路实战:JSAPI 下单、调起支付、回调验签与退款
266 阅读
2
微信小程序云开发实战:云函数、云数据库与云存储的正确使用姿势
256 阅读
3
微信小程序自定义 tabBar 实战:custom-tab-bar 从适配到深色模式
255 阅读
4
微信小程序 Skyline 渲染引擎实战:worklet 动画从原理到落地
253 阅读
5
微信小程序分包进阶:独立分包、预下载与分包异步化实战
246 阅读
服务器运维
后端技术
前端技术
梯子
数据库
小程序
登录
搜索
标签搜索
fastadmin
Redis
微信小程序
前端开发
RabbitMQ
Go
服务器
codex
buildadmin
小程序
mysql
Nginx
Docker
Vue3
Node.js
MySQL优化
Linux
TypeScript
JWT
PHP
沿途的风景
累计撰写
74
篇文章
累计收到
0
条评论
首页
栏目
服务器运维
后端技术
前端技术
梯子
数据库
小程序
页面
直播
壁纸
友链
搜索到
74
篇与
» admin
的结果
2026-02-02
数据库报错:SELECT list is not in GROUP BY clause
mysql5.7使用group by出现错误:[Err] 1055 - Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.score.c_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_byphpstudy解决方法:在phpstudy的mysql.ini文件中添加sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
2026年02月02日
14 阅读
0 评论
0 点赞
2026-01-29
cURL error 60: SSL certificate problem: unable to get local issuer certificate
微信小程序登录报错:Message: cURL error 60: SSL certificate problem: unable to get local issuer certificate这是由于后端使用了easywechat,而他封装的时候会检测ssl,这是 SSL 证书问题所致,在使用 SDK 调用微信支付等相关的操作时可能会遇到报 “SSL certificate problem: unable to get local issuer certificate” 的错误。微信公众平台提供的文档中建议对部分较敏感的操作接口使用 https 协议进行访问,例如微信支付和红包等接口中涉及到操作商户资金的一些操作。wechat SDK 遵循了官方建议,所以在调用这些接口时,除了按照官方文档设置操作证书文件外,还需要保证服务器正确安装了 CA 证书。下载 CA 证书你可以从 http://curl.haxx.se/ca/cacert.pem 下载 或者 使用微信官方提供的证书中的 CA 证书 rootca.pem 也是同样的效果。在 php.ini 中配置 CA 证书只需要将上面下载好的 CA 证书放置到您的服务器上某个位置,然后修改 php.ini 的 curl.cainfo 为该路径(绝对路径!),重启 php-fpm 服务即可。curl.cainfo = /path/to/downloaded/cacert.pem{warning} 注意证书文件路径为绝对路径!以自己实际情况为准。
2026年01月29日
16 阅读
0 评论
0 点赞
2026-01-21
setEagerlyType字段理解
官方文档介绍:V5.0.4+版本开始一对一关联预载入支持两种方式:JOIN方式(一次查询)和IN方式(两次查询),如果要使用IN方式关联预载入,在关联定义方法中添加。 这句话的意思是jion方式关联和用in方式关联两种方式,in方式关联可以理解为先查出id,在用查出来的id去in另外一个表,也就是做了两次查询。 以下例子:当设置setEagerlyType为1时,由于用的是in方式,所以用category.name是查不到关联数据的 //在goods模型中设置关联模型category public function category(){ return $this->belongsTo('Category', 'goods_category_id', 'id', [], 'LEFT')->setEagerlyType(0); //return $this->belongsTo('category','goods_category_id','id'); } //goods表关联分类表 $list = $this->model->with(['category'])->where($where)->order($sort, $order) ->paginate($limit);
2026年01月21日
17 阅读
0 评论
0 点赞
2026-01-17
fastadmin后台上传图片并压缩
fastadmin后台上传图片并没有进行压缩,而且并没有使用upload哪个公共接口,需要压缩就只能加入data-resize-width="750" data-resize-quality="0.8" <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label> <div class="col-xs-12 col-sm-8"> <div class="input-group"> <input id="c-image" class="form-control" size="50" name="row[image]" type="text"> <div class="input-group-addon no-border no-padding"> <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-resize-width="750" data-resize-quality="0.8" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> </div> <span class="msg-box n-right" for="c-image"></span> </div> <ul class="row list-inline faupload-preview" id="p-image"></ul> </div> </div>
2026年01月17日
16 阅读
0 评论
0 点赞
2026-01-15
免费的梯子推荐
起飞vpn 需要翻墙才能访问,目前有手机端和桌面端,桌面端需要兑换码,看广告可以获得, 这个软件有的手机型号不能使用,小米手机目前使用很稳定, 没有梯子的可以先下载黑豹vpn, 黑豹vpn 挂上试用vpn猴,访问起飞vpn进行下载
2026年01月15日
11 阅读
0 评论
0 点赞
1
...
13
14
15
0:00