05
2022
09

常用的生成唯一订单编号

转载https://blog.csdn.net/qq_28461727/article/details/1075164681.采用redis单线程特性2.期间想过用 uniqid()3.snowFlake雪花算法
05
2022
09

composer镜像选择

阿里云 Composer 全量镜像镜像地址:https://mirrors.aliyun.com/composer/官方地址:https://mirrors.aliyun.com/composer/index.html腾讯云 Composer 全量镜像镜像地址:https://mirrors.cloud.tencent.com/composer/官方地址:https://mirrors.cloud.tencent.com/composerPackagist / Composer 中国全量镜像镜像
05
2022
09

调用第三方接口要是报本地证书等错误操作方法

下载证书下载的证书放到 G:\phpstudy_pro\Extensions\php\php7.3.4nts\extras\ssl报错信息:cURL error 60: SSL certificate problem: unable to get local issuer certificaphp.ini添加curl.cainfo ="G:/phpstudy_pro/Extensions/php/php7.3.4nts/extras/ssl/cacert-2022-
01
2022
09

本地用密钥ssh免密码登录远程主机/scp命令

第一步:用 ssh-key-gen 在本地主机上创建公钥和密钥ssh-keygen -t  rsa 回车Enter file in which to save the key (C:\Users\Administrator/.ssh/id_rsa): (可自定义密钥文件名,可不定义默认)Enter passphrase (empty for no passphrase):(可自定义密码,可不定义默认)Enter same passphrase again:一直回车回车ok第二步将生成的