会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园站长
这是人类成长进步中记录的每一时刻
博客园
首页
新随笔
新文章
联系
管理
上一页
1
2
3
4
5
6
7
···
72
下一页
2021年9月29日
idea创建类报错:This template did not produce a Java class
摘要: 在idea.exe.vmoptions 或 idea64.exe.vmoptions中加入配置-Djdk.util.zip.ensureTrailingSlash=false重启,亲测可用
阅读全文
posted @ 2021-09-29 11:05 dm3344
阅读(237)
评论(0)
推荐(0)
2021年6月25日
初始化thinkphp6.0出现的问题解决
摘要: 参考https://www.kancloud.cn/manual/thinkphp6_0/1037481 tp6.0只支持通过composer安装(安装请参考上述网站即可,没啥问题) tp6.0要求 PHP >= 7.1.0 **********1、出现的问题一 由于之前是用的php-7.0.12-
阅读全文
posted @ 2021-06-25 14:33 dm3344
阅读(367)
评论(0)
推荐(0)
2021年5月31日
记一次续签SSL证书导致微信小程序部分机型无法访问网站接口
摘要: 起因 免费的ssl证书某天过期了,点了续签,发现部分老旧手机无法访问到这个网站接口,导致微信小程序功能无法访问 调试过程 1、小程序接口请求的位置,捕获返回的异常 request:fail -2:net::ERR_FAILE 百度 解决地址:https://blog.csdn.net/Cike___
阅读全文
posted @ 2021-05-31 13:23 dm3344
阅读(1155)
评论(0)
推荐(0)
2021年3月16日
微信小程序-订阅消息验证发送值有效格式
摘要: 一、准备 模版:访客提醒 关键词:name.DATA thing.DATA time.DATA 官方文档:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribe
阅读全文
posted @ 2021-03-16 16:24 dm3344
阅读(714)
评论(0)
推荐(0)
2021年3月12日
微信小程序分包优化
摘要: 前提:微信小程序上传代码时报错显示不能超过2M 没有分包前,app.json的配置代码如下: "pages": [ "pages/index/index", "pages/user/user", "pages/card/card" ], 假如上述pages文件夹大小已超出2m 改成 "pages":
阅读全文
posted @ 2021-03-12 15:36 dm3344
阅读(193)
评论(0)
推荐(0)
2020年12月14日
php前后端分离导出excel问题
摘要: 1、原始方案,直接浏览器输出下载【卒】 $xlsWriter = \PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5'); // ob_end_clean();//清除缓冲区,避免乱码 // header('Content-Type: ap
阅读全文
posted @ 2020-12-14 17:42 dm3344
阅读(648)
评论(0)
推荐(0)
2020年9月29日
PHP 随机数字按权重
摘要: $result = array();for($i=0; $i<100; $i++){ $row = $this->roll(array('a'=>290,'b'=>400,'c'=>210, 'd'=>100, 'e'=>20)); //a=1-5 29% b=6-10 40% c=11-15 21
阅读全文
posted @ 2020-09-29 10:47 dm3344
阅读(353)
评论(0)
推荐(0)
2020年9月27日
mysql 随机取区间整数
摘要: 若要在i ≤ R ≤ j 这个范围得到一个随机整数R ,需要用到表达式 FLOOR(i + RAND() * (j – i + 1))。 7 -20 区间整数,i=7 j=20 (j – i + 1)=14 最终 select FLOOR(7 + RAND() * 14) as rand
阅读全文
posted @ 2020-09-27 14:24 dm3344
阅读(676)
评论(0)
推荐(1)
2020年8月26日
jquery 操作radio选中无效的问题
摘要: 1、试过多个方式,都无法改变 $('input:radio[name=status]').eq(0).checked =printInfo.status!=1$('input:radio[name=status]').eq(0).attr('checked', 'true')$('input:rad
阅读全文
posted @ 2020-08-26 09:22 dm3344
阅读(949)
评论(0)
推荐(0)
2020年8月19日
微信小程序上 promise 使用
摘要: 1、引用此js,没有自行百度 import regeneratorRuntime from "sudu8_page/resource/js/runtime.js"; 2、js代码: //一、同步执行: async await 关键词 调用方也得加 async async testAsync() {
阅读全文
posted @ 2020-08-19 15:41 dm3344
阅读(1225)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
7
···
72
下一页