This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @desc Advanced Message Queuing Protocol RPC Client | |
| * | |
| * @name RpcClient | |
| * @copyright leeyi.net @ 2014-2020 | |
| * @author leeyi <leeyisoft@icloud.com> | |
| */ | |
| namespace app\lib\AMQP; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Advanced Message Queuing Protocol 发送消息类 | |
| * | |
| * @copyright leeyi.net @ 2014-2020 | |
| * @author leeyi <leeyisoft@icloud.com> | |
| */ | |
| namespace app\lib\AMQP; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # coding=utf-8 | |
| import json | |
| import hashlib | |
| import re | |
| import requests | |
| def md5(Str): | |
| m = hashlib.md5(Str.encode(encoding='utf8')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # encoding: utf-8 | |
| import sys | |
| import os | |
| import logging | |
| import pika | |
| import json | |
| import requests | |
| import socket |
NewerOlder