yanglin 6 years ago
parent
commit
a75f8152dd
1 changed files with 14 additions and 12 deletions
  1. 14 12
      README.md

+ 14 - 12
README.md

@@ -1,19 +1,8 @@
 <p align="center">
-    <a href="https://github.com/yiisoft" target="_blank">
-        <img src="https://avatars0.githubusercontent.com/u/993323" height="100px">
-    </a>
-    <h1 align="center">Yii 2 Advanced Project Template</h1>
+    <h1 align="center">This is  rabbitmq for Yii 2 Advanced </h1>
     <br>
 </p>
 
-Yii 2 Advanced Project Template is a skeleton [Yii 2](http://www.yiiframework.com/) application best for
-developing complex Web applications with multiple tiers.
-
-The template includes three tiers: front end, back end, and console, each of which
-is a separate Yii application.
-
-The template is designed to work in a team development environment. It supports
-deploying the application in different environments.
 
 Documentation is at [docs/guide/README.md](docs/guide/README.md).
 
@@ -60,3 +49,16 @@ frontend
 vendor/                  contains dependent 3rd-party packages
 environments/            contains environment-based overrides
 ```
+
+
+
+
+------------
+-  rabbitemq-使用规范接口文档(暂时components)
+-  composer require php-amqplib/php-amqplib 2.6.*   安装yii2 amqp
+-  phpclient.php  调用使用基类
+-  console        PhpClient::CallMq($n);  推送json数据到 rabbitmq中 channel 频道为 task_queue (后期可配置)
+-  curl           curl调用  基于nginx input直接输入到 rabbitmq中
+-  json           带提供json数据交互形式   文档success 则进入消息队列 error 则返回失败和msg原因
+
+