0
0

logSystem-advance

yanglin a75f8152dd master 6 роки тому
backend 8f9f76632d 用户记录指针 6 роки тому
common 8f9f76632d 用户记录指针 6 роки тому
components 8f9f76632d 用户记录指针 6 роки тому
console 8f9f76632d 用户记录指针 6 роки тому
environments 8f9f76632d 用户记录指针 6 роки тому
frontend 8f9f76632d 用户记录指针 6 роки тому
vagrant 8f9f76632d 用户记录指针 6 роки тому
.bowerrc 8f9f76632d 用户记录指针 6 роки тому
.gitignore 8f9f76632d 用户记录指针 6 роки тому
LICENSE.md 8f9f76632d 用户记录指针 6 роки тому
README.md a75f8152dd master 6 роки тому
Vagrantfile 8f9f76632d 用户记录指针 6 роки тому
codeception.yml 8f9f76632d 用户记录指针 6 роки тому
composer.json 8f9f76632d 用户记录指针 6 роки тому
composer.lock 8f9f76632d 用户记录指针 6 роки тому
init 8f9f76632d 用户记录指针 6 роки тому
init.bat 8f9f76632d 用户记录指针 6 роки тому
requirements.php 8f9f76632d 用户记录指针 6 роки тому
yii.bat 8f9f76632d 用户记录指针 6 роки тому

README.md

This is rabbitmq for Yii 2 Advanced


Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build Status

DIRECTORY STRUCTURE

common
    config/              contains shared configurations
    mail/                contains view files for e-mails
    models/              contains model classes used in both backend and frontend
    tests/               contains tests for common classes
components
    phpclient.php/       contains shared rabbitmq class
console
    config/              contains console configurations
    controllers/         contains console controllers (commands)
    migrations/          contains database migrations
    models/              contains console-specific model classes
    runtime/             contains files generated during runtime
backend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains backend configurations
    controllers/         contains Web controller classes
    models/              contains backend-specific model classes
    runtime/             contains files generated during runtime
    tests/               contains tests for backend application    
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
frontend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains frontend configurations
    controllers/         contains Web controller classes
    models/              contains frontend-specific model classes
    runtime/             contains files generated during runtime
    tests/               contains tests for frontend application
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
    widgets/             contains frontend widgets
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原因