Loading...
public function tags() { return $this->hasManyThrough( Tags::class,// 远程表 TopicTags::class,// 中间表 'topic_id', // 中间表对主表的关联字段 'id', // 远程表对中间表的关联字段 'id...
安装rabbitmq-c库(librabbitmq)方法一:yum install librabbitmq(这个方法目前安装的是v0.8.0版本,最新目前已到v0.9.0版本,该方法到安装amqp扩展时找不到librabbitmq路径,因此选择了第二种)方法二:下载wget https://github.com/alanxz/rabbitmq-c/archive/v0.9.0.tar.gz解...