摘要: VMware 17密钥(附下载链接) 密钥:MC60H-DWHD5-H80U9-6V85M-8280D https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html centos/7.9.2009/is 阅读全文
posted @ 2024-01-17 21:21 烈焰螺旋 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 消息持久化以及手动应答 RabbitMq重启之后queue_declare队列不会丢失 为了不让队列消失,需要把队列声明为持久化(durable)。为此我们通过queue_declare的第三参数为true: queue_declare必须在生产者(producer)和消费者(consumer)对应 阅读全文
posted @ 2024-01-10 00:52 烈焰螺旋 阅读(31) 评论(0) 推荐(0) 编辑
摘要: php -m |grep amqp 一、安装rabbitmq-c-0.8.0 当前目录为 /usr/local/src/ [root@localhost src]# wget https://github.com/alanxz/rabbitmq-c/releases/download/v0.8.0/ 阅读全文
posted @ 2021-09-15 18:13 烈焰螺旋 阅读(272) 评论(0) 推荐(0) 编辑
摘要: public function serve(){ $echoStr = $_GET["echostr"]; if($this->checkSignature()){ echo $echoStr; exit; }}//检查签名private function checkSignature(){ $si 阅读全文
posted @ 2020-05-29 11:36 烈焰螺旋 阅读(713) 评论(0) 推荐(0) 编辑
摘要: mysql外网访问:grant all on *.* to '用户名'@'%' identified by '密码'; 启动MariaDB命令:systemctl start mariadb.service停止MariaDB命令:systemctl stop mariadb.service重启Mar 阅读全文
posted @ 2020-04-09 02:00 烈焰螺旋 阅读(719) 评论(0) 推荐(0) 编辑
摘要: 打印SQL:DB::connection()->enableQueryLog(); 这里是SQL执行语句... $logs = DB::getQueryLog();dd($logs); 阅读全文
posted @ 2019-12-30 14:32 烈焰螺旋 阅读(909) 评论(0) 推荐(0) 编辑
摘要: $Str = implode(',', $v);$_where[] = [DB::raw("字段名 in ({$Str})"),'1']; 阅读全文
posted @ 2019-12-25 09:45 烈焰螺旋 阅读(5966) 评论(0) 推荐(0) 编辑
摘要: //判断字符串转数组private function strToArray($ids){ if(!str_contains($ids,",")) return _response([],100,"data error"); $ids = explode(",", $ids); if(count($i 阅读全文
posted @ 2019-12-20 15:22 烈焰螺旋 阅读(336) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-12-04 18:31 烈焰螺旋 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1:ErrorException (E_NOTICE) Undefined index: host env配置必须带http:// 阅读全文
posted @ 2019-11-02 21:20 烈焰螺旋 阅读(161) 评论(0) 推荐(0) 编辑