摘要: 微信小程序请求接口需要把接口域名添加到小程序官方后台的 request 域名列表里,并且还要是 https 协议的。使用微信自带的云开发,并且新建云函数,可以绕过这个限制,直接访问 http 协议的接口也没有问题! // 云函数入口文件 const cloud = require('wx-serve 阅读全文
posted @ 2023-02-09 15:01 imzhi 阅读(637) 评论(0) 推荐(0) 编辑
摘要: 修改了两个配置。 1、Enables a mode for connecting using a single connection shared between windows and across window reloads. This makes it faster to open new 阅读全文
posted @ 2023-02-09 14:27 imzhi 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 使用 lsattr 命令查看文件的属性,使用 chattr 命令的修改文件的属性。解决修改文件提示无权限: chattr -i <file> chattr 命令的详解参考链接【3】。 参考链接: 1、https://serverfault.com/questions/60711/chown-oper 阅读全文
posted @ 2023-02-09 14:20 imzhi 阅读(232) 评论(0) 推荐(0) 编辑