摘要: npm config set sass_binary_site https://mirrors.huaweicloud.com/node-sass/ 或 npm config set sass_binary_site https://registry.npmmirror.com/node-sass/ 阅读全文
posted @ 2024-04-18 16:18 浊浊然 阅读(4) 评论(0) 推荐(0) 编辑
摘要: npm install anywhere -g npm install http-server -g anywhere 和 http-server 都可以简单启动一个本地服务器 阅读全文
posted @ 2024-04-12 15:37 浊浊然 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1.正常部署https访问(已在小程序后台配置域名) 2.如果还是调不通,访问 https://myssl.com/ 对htts网址进行检测 小程序需要A级以上才能正常调用 3.如果达不到A级,需要访问 https://myssl.com/chain_download.html 修复证书链 4.修复 阅读全文
posted @ 2024-01-08 14:37 浊浊然 阅读(74) 评论(0) 推荐(0) 编辑
摘要: UPDATE table SET `field`=REPLACE(`field`,' ','');UPDATE table SET `field`=REPLACE(REPLACE(REPLACE(REPLACE(`field`,CHAR(13),''),CHAR(10),''),CHAR(9),'' 阅读全文
posted @ 2023-03-30 12:33 浊浊然 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 切换子系统(可获取子系统中配置的权限) /js/a/switch/defaultxx(这会返回302重定向到 /js/a/index),这里使用jquery的普通ajax,不要使用promise,无法拿到302返回也就不再去请求/js/a/index 当配置https后,302会转到http去请求( 阅读全文
posted @ 2023-02-10 17:02 浊浊然 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 打包的apk后缀改为zip,解压后里面进入/META-INF目录,有个CERT.RSA文件 使用命令 keytool -printcert -file CERT.RSA 即可查看sha1 地图平台中需要sha1这个值,或得对应的key 阅读全文
posted @ 2022-12-10 20:36 浊浊然 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Building for production...Error: error:0308010C:digital envelope routines::unsupported 先执行以下命令: windows: set NODE_OPTIONS openssl-legacy-provider linu 阅读全文
posted @ 2022-11-06 13:39 浊浊然 阅读(1778) 评论(0) 推荐(0) 编辑
摘要: let params = (new URL(document.location)).searchParams; const code = params.get('code'); 阅读全文
posted @ 2022-08-30 21:38 浊浊然 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 使用的宝塔面板 下载pecl包 http://pecl.php.net/package/oci8 //php7.4 wget http://pecl.php.net/get/oci8-2.2.0.tgz tar zxf oci8-2.2.0.tgz cd oci8-2.2.0 /www/server 阅读全文
posted @ 2021-08-03 17:31 浊浊然 阅读(135) 评论(0) 推荐(0) 编辑
摘要: npm 设置镜像仓库 npm config set registry https://registry.npm.taobao.org npm config get registry 查看设置结果 安装nativefier (nativefier 可直接将网址打包为可执行文件) npm install 阅读全文
posted @ 2021-01-31 12:07 浊浊然 阅读(815) 评论(0) 推荐(0) 编辑