03 2022 档案

摘要:Mosquitto 添加wss协议(HTTPS使用阿里云证书) 1、准备证书 **注意:根证书扩展名改为crt, 2、编辑mosquitto.conf配置文件 listener 88888 protocol websockets cafile C:\mosquitto\crt\root.crt // 阅读全文
posted @ 2022-03-16 20:06 中国结 阅读(1697) 评论(0) 推荐(0) 编辑
摘要:ASP.NET Core Kestrel部署HTTPS(阿里云ssl证书) 1.阿里云下载IIS证书(pfx),放到项目根目录下 2、改代码 public class Program { public static void Main(string[] args) { CreateWebHostBu 阅读全文
posted @ 2022-03-14 20:30 中国结 阅读(512) 评论(0) 推荐(0) 编辑
摘要:推送消息 c# .netcore3.1 unipush(个推)前后端开发笔记 一、前端: 1、获取cid,在APP登录页面加入如下代码,保存到数据库,以备服务端调用 this.mycid=plus.push.getClientInfo().clientid; 2、在app.vue中的onLaunch 阅读全文
posted @ 2022-03-14 00:05 中国结 阅读(1229) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示