- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 小程序文件上传加密处理(包括不仅限于图片、视频aes)
加密所需插件(cryptojs) github地址:https://github.com/brix/crypto-js 文档地址:https://cryptojs.gitbook.io/docs/#ciphers 安装包 npm install crypto-js 小程序引入: const CryptoJs = require('crypto-js'); 使用小程序api中FileSystemManager.readFile方法读取文件流,可以使用binary或者base64的encoding co.
2021-11-11 11:25:12
2542
原创 linux下nginx安装ssl模块(不需要重启服务)
###nginx不重启情况安装ssl或者其他模块 安装openssl yum install -y openssl openssl-devel 源码包下执行 ./configure --with-http_ssl_module 替代原有nginx指令(nginx运行中,得使用mv才能覆盖目标文件) mv objs/nginx /usr/local/nginx/sbin/nginx 检查是否安装成功 /usr/local/nginx/sbin/nginx -V ...
2021-09-28 14:29:02
513
原创 mysql异常1366 - Incorrect decimal value: '' for column '' at row -1处理办法
mysql异常1366 - Incorrect decimal value: '' for column '' at row -1处理办法转换错误 转换错误 cast(?? AS DECIMAL) 改成round (?? , 0)
2018-11-01 13:59:31
13933
原创 nginx搭建文件服务器(上传(支持断点续传),下载)
nginx-file-process(https://github.com/anyangdp/nginx-file-process) nginx文件处理demo(服务器系统cenos 7.4) 安装要求 1.nginx版本:1.14.0 2.nginx upload module安装 (nginx必须编译安装,不可以yum安装) 3.安装方法百度自行搜索,安装包可以在git仓库中下载(此...
2018-09-10 11:20:27
22020
5
原创 分组查询取每组最新的数据
分组查询取每组最新的数据 表结构 CREATE TABLE cy_biz_message ( id INT AUTO_INCREMENT COMMENT '主键' PRIMARY KEY, send_id INT NOT NULL COMMENT '发送者...
2018-08-23 13:50:36
2761
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅