摘要:
VMware 17密钥(附下载链接) 密钥:MC60H-DWHD5-H80U9-6V85M-8280D https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html centos/7.9.2009/is 阅读全文
摘要:
消息持久化以及手动应答 RabbitMq重启之后queue_declare队列不会丢失 为了不让队列消失,需要把队列声明为持久化(durable)。为此我们通过queue_declare的第三参数为true: queue_declare必须在生产者(producer)和消费者(consumer)对应 阅读全文
摘要:
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/ 阅读全文
摘要:
public function serve(){ $echoStr = $_GET["echostr"]; if($this->checkSignature()){ echo $echoStr; exit; }}//检查签名private function checkSignature(){ $si 阅读全文
摘要:
mysql外网访问:grant all on *.* to '用户名'@'%' identified by '密码'; 启动MariaDB命令:systemctl start mariadb.service停止MariaDB命令:systemctl stop mariadb.service重启Mar 阅读全文
摘要:
打印SQL:DB::connection()->enableQueryLog(); 这里是SQL执行语句... $logs = DB::getQueryLog();dd($logs); 阅读全文
摘要:
$Str = implode(',', $v);$_where[] = [DB::raw("字段名 in ({$Str})"),'1']; 阅读全文
摘要:
//判断字符串转数组private function strToArray($ids){ if(!str_contains($ids,",")) return _response([],100,"data error"); $ids = explode(",", $ids); if(count($i 阅读全文
摘要:
1:ErrorException (E_NOTICE) Undefined index: host env配置必须带http:// 阅读全文