作者 邓超

x

@@ -5,22 +5,21 @@ @@ -5,22 +5,21 @@
5 "license": "MIT", 5 "license": "MIT",
6 "require": { 6 "require": {
7 "php": "^8.0.2", 7 "php": "^8.0.2",
8 - "ext-pdo": "*",  
9 - "ext-redis": "*",  
10 - "ext-mbstring": "*",  
11 - "ext-json": "*",  
12 "ext-iconv": "*", 8 "ext-iconv": "*",
13 "ext-imap": "*", 9 "ext-imap": "*",
14 - "phpmailer/phpmailer": "^6.7"  
15 - },  
16 - "require-dev": {  
17 - 10 + "ext-json": "*",
  11 + "ext-mbstring": "*",
  12 + "ext-pdo": "*",
  13 + "ext-redis": "*",
  14 + "phpmailer/phpmailer": "^6.7",
  15 + "swlib/saber": "^1.0"
18 }, 16 },
19 "autoload": { 17 "autoload": {
20 "psr-4": { 18 "psr-4": {
21 "Model\\": "model/", 19 "Model\\": "model/",
22 "Controller\\": "controller/", 20 "Controller\\": "controller/",
23 - "Lib\\": "lib/" 21 + "Lib\\": "lib/",
  22 + "Event\\": "event/"
24 }, 23 },
25 "files": [ 24 "files": [
26 "config.php", 25 "config.php",
  1 +<?php
  2 +
  3 +namespace Event;
  4 +
  5 +use Model\folderSql;
  6 +use Swlib\Saber;
  7 +use Swlib\SaberGM;
  8 +
  9 +/**
  10 + * 邮件同步成功的事件
  11 + * @author:dc
  12 + * @time 2024/8/22 15:47
  13 + * Class syncMail
  14 + * @package Event
  15 + */
  16 +class syncMail {
  17 +
  18 +
  19 + public function __construct($id,$header,$data)
  20 + {
  21 + $db = db();
  22 +
  23 + // 是否在指定文件夹内
  24 + $f = $db->value(folderSql::first($data['folder_id'],'folder'));
  25 + $f = folderAlias($f);
  26 + if($f=='收件箱'){
  27 + $f = 's';
  28 + }elseif($f=='发件箱'){
  29 + $f = 'f';
  30 + }elseif($f=='垃圾箱'){
  31 + $f = 'l';
  32 + }
  33 + if(in_array($f,['s','f','l'])){
  34 + // 是否是预热邮件 aicc专用
  35 + if(!empty($header['Aicc-Hot-Mail']) || !empty($header['aicc-hot-mail'])){
  36 + $is_hot = 1;
  37 + }
  38 +
  39 + if(empty($is_hot)){
  40 + if($f == 's' && $db->count('select count(*) from `hot_mail` where `email` = "'.$data['from'].'"')){
  41 + $is_hot = 1;
  42 + }
  43 + }
  44 +
  45 + if(!empty($is_hot)){
  46 + try {
  47 + // 记录日志
  48 + logs('识别到aicc预热邮件 '.$id.'-'.$data['email_id'].'-'.$data['from'],LOG_PATH.'/hot-mail.log');
  49 +
  50 + $db->throw()->insert('fob_hot_mail',[
  51 + 'lists_id' => $id,
  52 + 'email_id' => $data['email_id'],
  53 + 'hot_form' => $data['from'],
  54 + 'folder' => $f
  55 + ],false);
  56 +
  57 + }catch (\Throwable $exception){
  58 + logs($exception->getMessage());
  59 + }
  60 + }else{
  61 + if($f == 's'){
  62 + // 通知黑格 2024-08-22 新上 这个是异步的不会阻塞当前进程
  63 + SaberGM::post('https://fob.ai.cc/api/email_new_push',[
  64 + 'sign' => md5(date('ymd').'fob.ai.cc.email'),
  65 + 'id' => $id,
  66 + 'subject' => $data['subject'],
  67 + 'udate' => $data['udate'],
  68 + 'from' => $data['from'],
  69 + 'tos' => array_column(json_decode($data['to_name'],1),'email')
  70 + ]);
  71 + }
  72 + }
  73 +
  74 + }
  75 +
  76 +
  77 + }
  78 +
  79 +
  80 +
  81 +}
@@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
2 2
3 namespace Lib\Mail; 3 namespace Lib\Mail;
4 4
  5 +use Event\syncMail;
5 use Lib\DbPool; 6 use Lib\DbPool;
6 use Model\bodySql; 7 use Model\bodySql;
7 use Model\folderSql; 8 use Model\folderSql;
@@ -441,33 +442,9 @@ class Mail { @@ -441,33 +442,9 @@ class Mail {
441 try { 442 try {
442 $id = $db->throw()->insert(listsSql::$table,$data); 443 $id = $db->throw()->insert(listsSql::$table,$data);
443 if($id){ 444 if($id){
444 - // 是否是预热邮件 aicc专用  
445 - if(!empty($header['Aicc-Hot-Mail']) || !empty($header['aicc-hot-mail'])){  
446 - try {  
447 - // 记录日志  
448 - logs('识别到aicc预热邮件 '.$id.'-'.$data['email_id'].'-'.$data['from'],LOG_PATH.'/hot-mail.log');  
449 - $f = $db->value(folderSql::first($data['folder_id'],'folder'));  
450 - $f = folderAlias($f);  
451 - if($f=='收件箱'){  
452 - $f = 's';  
453 - }elseif($f=='发件箱'){  
454 - $f = 'f';  
455 - }elseif($f=='垃圾箱'){  
456 - $f = 'l';  
457 - }  
458 - if(in_array($f,['s','f','l'])){  
459 - $db->throw()->insert('fob_hot_mail',[  
460 - 'lists_id' => $id,  
461 - 'email_id' => $data['email_id'],  
462 - 'hot_form' => $data['from'],  
463 - 'folder' => $f  
464 - ],false);  
465 - }  
466 - }catch (\Throwable $exception){  
467 - logs($exception->getMessage());  
468 - }  
469 -  
470 - } 445 + go(function ($id,$header,$data){
  446 + new syncMail($id,$header,$data);
  447 + },[$id,$header,$data]);
471 } 448 }
472 449
473 }catch (\Throwable $e){ 450 }catch (\Throwable $e){
@@ -21,6 +21,8 @@ use Composer\Semver\VersionParser; @@ -21,6 +21,8 @@ use Composer\Semver\VersionParser;
21 * See also https://getcomposer.org/doc/07-runtime.md#installed-versions 21 * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
22 * 22 *
23 * To require its presence, you can require `composer-runtime-api ^2.0` 23 * To require its presence, you can require `composer-runtime-api ^2.0`
  24 + *
  25 + * @final
24 */ 26 */
25 class InstalledVersions 27 class InstalledVersions
26 { 28 {
@@ -2,15 +2,106 @@ @@ -2,15 +2,106 @@
2 2
3 // autoload_classmap.php @generated by Composer 3 // autoload_classmap.php @generated by Composer
4 4
5 -$vendorDir = dirname(dirname(__FILE__)); 5 +$vendorDir = dirname(__DIR__);
6 $baseDir = dirname($vendorDir); 6 $baseDir = dirname($vendorDir);
7 7
8 return array( 8 return array(
9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
  10 + 'Controller\\Base' => $baseDir . '/controller/Base.php',
  11 + 'Controller\\Blacklist' => $baseDir . '/controller/Blacklist.php',
  12 + 'Controller\\Folder' => $baseDir . '/controller/Folder.php',
  13 + 'Controller\\Home' => $baseDir . '/controller/Home.php',
  14 + 'Controller\\Job' => $baseDir . '/controller/Job.php',
  15 + 'Controller\\Login' => $baseDir . '/controller/Login.php',
  16 + 'Controller\\Test' => $baseDir . '/controller/Test.php',
  17 + 'Controller\\Upload' => $baseDir . '/controller/Upload.php',
  18 + 'Controller\\fob_ai\\MailList' => $baseDir . '/controller/fob_ai/MailList.php',
  19 + 'Controller\\v2\\Home' => $baseDir . '/controller/v2/Home.php',
  20 + 'Event\\syncMail' => $baseDir . '/event/syncMail.php',
  21 + 'Lib\\App' => $baseDir . '/lib/App.php',
  22 + 'Lib\\Db' => $baseDir . '/lib/Db.php',
  23 + 'Lib\\DbException' => $baseDir . '/lib/DbException.php',
  24 + 'Lib\\DbPool' => $baseDir . '/lib/DbPool.php',
  25 + 'Lib\\DbQuery' => $baseDir . '/lib/DbQuery.php',
  26 + 'Lib\\Err' => $baseDir . '/lib/Err.php',
  27 + 'Lib\\Lang' => $baseDir . '/lib/Lang.php',
  28 + 'Lib\\Log' => $baseDir . '/lib/Log.php',
  29 + 'Lib\\Mail\\Body' => $baseDir . '/lib/Mail/Body.php',
  30 + 'Lib\\Mail\\DeCoding' => $baseDir . '/lib/Mail/DeCoding.php',
  31 + 'Lib\\Mail\\Imap' => $baseDir . '/lib/Mail/Imap.php',
  32 + 'Lib\\Mail\\Mail' => $baseDir . '/lib/Mail/Mail.php',
  33 + 'Lib\\Mail\\MailFun' => $baseDir . '/lib/Mail/MailFun.php',
  34 + 'Lib\\Redis' => $baseDir . '/lib/Redis.php',
  35 + 'Lib\\RedisPool' => $baseDir . '/lib/RedisPool.php',
  36 + 'Lib\\RedisQuery' => $baseDir . '/lib/RedisQuery.php',
  37 + 'Lib\\Route' => $baseDir . '/lib/Route.php',
  38 + 'Lib\\UploadFile' => $baseDir . '/lib/UploadFile.php',
  39 + 'Lib\\Verify' => $baseDir . '/lib/Verify.php',
  40 + 'Model\\blacklist' => $baseDir . '/model/blacklist.php',
  41 + 'Model\\bodySql' => $baseDir . '/model/bodySql.php',
  42 + 'Model\\emailSql' => $baseDir . '/model/emailSql.php',
  43 + 'Model\\folderSql' => $baseDir . '/model/folderSql.php',
  44 + 'Model\\hostSql' => $baseDir . '/model/hostSql.php',
  45 + 'Model\\listsSql' => $baseDir . '/model/listsSql.php',
  46 + 'Model\\sendJobStatusSql' => $baseDir . '/model/sendJobStatusSql.php',
  47 + 'Model\\sendJobsSql' => $baseDir . '/model/sendJobsSql.php',
10 'PHPMailer\\PHPMailer\\Exception' => $vendorDir . '/phpmailer/phpmailer/src/Exception.php', 48 'PHPMailer\\PHPMailer\\Exception' => $vendorDir . '/phpmailer/phpmailer/src/Exception.php',
11 'PHPMailer\\PHPMailer\\OAuth' => $vendorDir . '/phpmailer/phpmailer/src/OAuth.php', 49 'PHPMailer\\PHPMailer\\OAuth' => $vendorDir . '/phpmailer/phpmailer/src/OAuth.php',
12 'PHPMailer\\PHPMailer\\OAuthTokenProvider' => $vendorDir . '/phpmailer/phpmailer/src/OAuthTokenProvider.php', 50 'PHPMailer\\PHPMailer\\OAuthTokenProvider' => $vendorDir . '/phpmailer/phpmailer/src/OAuthTokenProvider.php',
13 'PHPMailer\\PHPMailer\\PHPMailer' => $vendorDir . '/phpmailer/phpmailer/src/PHPMailer.php', 51 'PHPMailer\\PHPMailer\\PHPMailer' => $vendorDir . '/phpmailer/phpmailer/src/PHPMailer.php',
14 'PHPMailer\\PHPMailer\\POP3' => $vendorDir . '/phpmailer/phpmailer/src/POP3.php', 52 'PHPMailer\\PHPMailer\\POP3' => $vendorDir . '/phpmailer/phpmailer/src/POP3.php',
15 'PHPMailer\\PHPMailer\\SMTP' => $vendorDir . '/phpmailer/phpmailer/src/SMTP.php', 53 'PHPMailer\\PHPMailer\\SMTP' => $vendorDir . '/phpmailer/phpmailer/src/SMTP.php',
  54 + 'Psr\\Http\\Message\\MessageInterface' => $vendorDir . '/psr/http-message/src/MessageInterface.php',
  55 + 'Psr\\Http\\Message\\RequestInterface' => $vendorDir . '/psr/http-message/src/RequestInterface.php',
  56 + 'Psr\\Http\\Message\\ResponseInterface' => $vendorDir . '/psr/http-message/src/ResponseInterface.php',
  57 + 'Psr\\Http\\Message\\ServerRequestInterface' => $vendorDir . '/psr/http-message/src/ServerRequestInterface.php',
  58 + 'Psr\\Http\\Message\\StreamInterface' => $vendorDir . '/psr/http-message/src/StreamInterface.php',
  59 + 'Psr\\Http\\Message\\UploadedFileInterface' => $vendorDir . '/psr/http-message/src/UploadedFileInterface.php',
  60 + 'Psr\\Http\\Message\\UriInterface' => $vendorDir . '/psr/http-message/src/UriInterface.php',
  61 + 'Swlib\\Http\\BufferStream' => $vendorDir . '/swlib/http/src/BufferStream.php',
  62 + 'Swlib\\Http\\ContentType' => $vendorDir . '/swlib/http/src/ContentType.php',
  63 + 'Swlib\\Http\\Cookie' => $vendorDir . '/swlib/http/src/Cookie.php',
  64 + 'Swlib\\Http\\Cookies' => $vendorDir . '/swlib/http/src/Cookies.php',
  65 + 'Swlib\\Http\\CookiesManagerTrait' => $vendorDir . '/swlib/http/src/CookiesManagerTrait.php',
  66 + 'Swlib\\Http\\Exception\\BadResponseException' => $vendorDir . '/swlib/http/src/Exception/BadResponseException.php',
  67 + 'Swlib\\Http\\Exception\\ClientException' => $vendorDir . '/swlib/http/src/Exception/ClientException.php',
  68 + 'Swlib\\Http\\Exception\\ConnectException' => $vendorDir . '/swlib/http/src/Exception/ConnectException.php',
  69 + 'Swlib\\Http\\Exception\\HttpExceptionMask' => $vendorDir . '/swlib/http/src/Exception/HttpExceptionMask.php',
  70 + 'Swlib\\Http\\Exception\\RequestException' => $vendorDir . '/swlib/http/src/Exception/RequestException.php',
  71 + 'Swlib\\Http\\Exception\\ServerException' => $vendorDir . '/swlib/http/src/Exception/ServerException.php',
  72 + 'Swlib\\Http\\Exception\\TooManyRedirectsException' => $vendorDir . '/swlib/http/src/Exception/TooManyRedirectsException.php',
  73 + 'Swlib\\Http\\Exception\\TransferException' => $vendorDir . '/swlib/http/src/Exception/TransferException.php',
  74 + 'Swlib\\Http\\Message' => $vendorDir . '/swlib/http/src/Message.php',
  75 + 'Swlib\\Http\\PumpStream' => $vendorDir . '/swlib/http/src/PumpStream.php',
  76 + 'Swlib\\Http\\Request' => $vendorDir . '/swlib/http/src/Request.php',
  77 + 'Swlib\\Http\\Response' => $vendorDir . '/swlib/http/src/Response.php',
  78 + 'Swlib\\Http\\Rfc7230' => $vendorDir . '/swlib/http/src/Rfc7230.php',
  79 + 'Swlib\\Http\\Status' => $vendorDir . '/swlib/http/src/Status.php',
  80 + 'Swlib\\Http\\Stream' => $vendorDir . '/swlib/http/src/Stream.php',
  81 + 'Swlib\\Http\\Suffix' => $vendorDir . '/swlib/http/src/Suffix.php',
  82 + 'Swlib\\Http\\SwUploadFile' => $vendorDir . '/swlib/http/src/SwUploadFile.php',
  83 + 'Swlib\\Http\\UploadedFile' => $vendorDir . '/swlib/http/src/UploadedFile.php',
  84 + 'Swlib\\Http\\Uri' => $vendorDir . '/swlib/http/src/Uri.php',
  85 + 'Swlib\\Http\\UriNormalizer' => $vendorDir . '/swlib/http/src/UriNormalizer.php',
  86 + 'Swlib\\Http\\UriResolver' => $vendorDir . '/swlib/http/src/UriResolver.php',
  87 + 'Swlib\\Http\\Util' => $vendorDir . '/swlib/http/src/Util.php',
  88 + 'Swlib\\Saber' => $vendorDir . '/swlib/saber/src/Saber.php',
  89 + 'Swlib\\SaberGM' => $vendorDir . '/swlib/saber/src/SaberGM.php',
  90 + 'Swlib\\Saber\\ClientPool' => $vendorDir . '/swlib/saber/src/ClientPool.php',
  91 + 'Swlib\\Saber\\Request' => $vendorDir . '/swlib/saber/src/Request.php',
  92 + 'Swlib\\Saber\\RequestQueue' => $vendorDir . '/swlib/saber/src/RequestQueue.php',
  93 + 'Swlib\\Saber\\Response' => $vendorDir . '/swlib/saber/src/Response.php',
  94 + 'Swlib\\Saber\\ResponseMap' => $vendorDir . '/swlib/saber/src/ResponseMap.php',
  95 + 'Swlib\\Saber\\WebSocket' => $vendorDir . '/swlib/saber/src/WebSocket.php',
  96 + 'Swlib\\Saber\\WebSocketFrame' => $vendorDir . '/swlib/saber/src/WebSocketFrame.php',
  97 + 'Swlib\\Util\\ArrayMap' => $vendorDir . '/swlib/util/src/ArrayMap.php',
  98 + 'Swlib\\Util\\DataParser' => $vendorDir . '/swlib/util/src/DataParser.php',
  99 + 'Swlib\\Util\\Helper' => $vendorDir . '/swlib/util/src/Helper.php',
  100 + 'Swlib\\Util\\InterceptorTrait' => $vendorDir . '/swlib/util/src/InterceptorTrait.php',
  101 + 'Swlib\\Util\\MapPool' => $vendorDir . '/swlib/util/src/MapPool.php',
  102 + 'Swlib\\Util\\Serialize' => $vendorDir . '/swlib/util/src/Serialize.php',
  103 + 'Swlib\\Util\\SingletonTrait' => $vendorDir . '/swlib/util/src/SingletonTrait.php',
  104 + 'Swlib\\Util\\SpecialMarkTrait' => $vendorDir . '/swlib/util/src/SpecialMarkTrait.php',
  105 + 'Swlib\\Util\\StringDataParserTrait' => $vendorDir . '/swlib/util/src/StringDataParserTrait.php',
  106 + 'Swlib\\Util\\TypeDetector' => $vendorDir . '/swlib/util/src/TypeDetector.php',
16 ); 107 );
@@ -2,10 +2,12 @@ @@ -2,10 +2,12 @@
2 2
3 // autoload_files.php @generated by Composer 3 // autoload_files.php @generated by Composer
4 4
5 -$vendorDir = dirname(dirname(__FILE__)); 5 +$vendorDir = dirname(__DIR__);
6 $baseDir = dirname($vendorDir); 6 $baseDir = dirname($vendorDir);
7 7
8 return array( 8 return array(
  9 + '045cd5d476702c3529ef3e1b9f615e70' => $vendorDir . '/swlib/http/src/functions.php',
  10 + '3a6b4a1bc7c69c0620b4ef88fb5d27d0' => $vendorDir . '/swlib/saber/src/include/functions.php',
9 'bb03d338bda3db8d7d2ebaa9ed85fbb8' => $baseDir . '/config.php', 11 'bb03d338bda3db8d7d2ebaa9ed85fbb8' => $baseDir . '/config.php',
10 '64f502373aeb3a4fc478eb2a271aa6eb' => $baseDir . '/function.php', 12 '64f502373aeb3a4fc478eb2a271aa6eb' => $baseDir . '/function.php',
11 ); 13 );
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 2
3 // autoload_namespaces.php @generated by Composer 3 // autoload_namespaces.php @generated by Composer
4 4
5 -$vendorDir = dirname(dirname(__FILE__)); 5 +$vendorDir = dirname(__DIR__);
6 $baseDir = dirname($vendorDir); 6 $baseDir = dirname($vendorDir);
7 7
8 return array( 8 return array(
@@ -2,12 +2,17 @@ @@ -2,12 +2,17 @@
2 2
3 // autoload_psr4.php @generated by Composer 3 // autoload_psr4.php @generated by Composer
4 4
5 -$vendorDir = dirname(dirname(__FILE__)); 5 +$vendorDir = dirname(__DIR__);
6 $baseDir = dirname($vendorDir); 6 $baseDir = dirname($vendorDir);
7 7
8 return array( 8 return array(
  9 + 'Swlib\\Util\\' => array($vendorDir . '/swlib/util/src'),
  10 + 'Swlib\\Saber\\' => array($vendorDir . '/swlib/saber/src'),
  11 + 'Swlib\\Http\\' => array($vendorDir . '/swlib/http/src'),
  12 + 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
9 'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'), 13 'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),
10 'Model\\' => array($baseDir . '/model'), 14 'Model\\' => array($baseDir . '/model'),
11 'Lib\\' => array($baseDir . '/lib'), 15 'Lib\\' => array($baseDir . '/lib'),
  16 + 'Event\\' => array($baseDir . '/event'),
12 'Controller\\' => array($baseDir . '/controller'), 17 'Controller\\' => array($baseDir . '/controller'),
13 ); 18 );
@@ -25,38 +25,15 @@ class ComposerAutoloaderInit510d7d2d197bed575e1fdc26074f60e5 @@ -25,38 +25,15 @@ class ComposerAutoloaderInit510d7d2d197bed575e1fdc26074f60e5
25 require __DIR__ . '/platform_check.php'; 25 require __DIR__ . '/platform_check.php';
26 26
27 spl_autoload_register(array('ComposerAutoloaderInit510d7d2d197bed575e1fdc26074f60e5', 'loadClassLoader'), true, true); 27 spl_autoload_register(array('ComposerAutoloaderInit510d7d2d197bed575e1fdc26074f60e5', 'loadClassLoader'), true, true);
28 - self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 28 + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29 spl_autoload_unregister(array('ComposerAutoloaderInit510d7d2d197bed575e1fdc26074f60e5', 'loadClassLoader')); 29 spl_autoload_unregister(array('ComposerAutoloaderInit510d7d2d197bed575e1fdc26074f60e5', 'loadClassLoader'));
30 30
31 - $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());  
32 - if ($useStaticLoader) {  
33 - require __DIR__ . '/autoload_static.php';  
34 -  
35 - call_user_func(\Composer\Autoload\ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5::getInitializer($loader));  
36 - } else {  
37 - $map = require __DIR__ . '/autoload_namespaces.php';  
38 - foreach ($map as $namespace => $path) {  
39 - $loader->set($namespace, $path);  
40 - }  
41 -  
42 - $map = require __DIR__ . '/autoload_psr4.php';  
43 - foreach ($map as $namespace => $path) {  
44 - $loader->setPsr4($namespace, $path);  
45 - }  
46 -  
47 - $classMap = require __DIR__ . '/autoload_classmap.php';  
48 - if ($classMap) {  
49 - $loader->addClassMap($classMap);  
50 - }  
51 - } 31 + require __DIR__ . '/autoload_static.php';
  32 + \Composer\Autoload\ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5::getInitializer($loader)();
52 33
53 $loader->register(true); 34 $loader->register(true);
54 35
55 - if ($useStaticLoader) {  
56 - $includeFiles = Composer\Autoload\ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5::$files;  
57 - } else {  
58 - $includeFiles = require __DIR__ . '/autoload_files.php';  
59 - } 36 + $includeFiles = \Composer\Autoload\ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5::$files;
60 foreach ($includeFiles as $fileIdentifier => $file) { 37 foreach ($includeFiles as $fileIdentifier => $file) {
61 composerRequire510d7d2d197bed575e1fdc26074f60e5($fileIdentifier, $file); 38 composerRequire510d7d2d197bed575e1fdc26074f60e5($fileIdentifier, $file);
62 } 39 }
@@ -7,13 +7,22 @@ namespace Composer\Autoload; @@ -7,13 +7,22 @@ namespace Composer\Autoload;
7 class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5 7 class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5
8 { 8 {
9 public static $files = array ( 9 public static $files = array (
  10 + '045cd5d476702c3529ef3e1b9f615e70' => __DIR__ . '/..' . '/swlib/http/src/functions.php',
  11 + '3a6b4a1bc7c69c0620b4ef88fb5d27d0' => __DIR__ . '/..' . '/swlib/saber/src/include/functions.php',
10 'bb03d338bda3db8d7d2ebaa9ed85fbb8' => __DIR__ . '/../..' . '/config.php', 12 'bb03d338bda3db8d7d2ebaa9ed85fbb8' => __DIR__ . '/../..' . '/config.php',
11 '64f502373aeb3a4fc478eb2a271aa6eb' => __DIR__ . '/../..' . '/function.php', 13 '64f502373aeb3a4fc478eb2a271aa6eb' => __DIR__ . '/../..' . '/function.php',
12 ); 14 );
13 15
14 public static $prefixLengthsPsr4 = array ( 16 public static $prefixLengthsPsr4 = array (
  17 + 'S' =>
  18 + array (
  19 + 'Swlib\\Util\\' => 11,
  20 + 'Swlib\\Saber\\' => 12,
  21 + 'Swlib\\Http\\' => 11,
  22 + ),
15 'P' => 23 'P' =>
16 array ( 24 array (
  25 + 'Psr\\Http\\Message\\' => 17,
17 'PHPMailer\\PHPMailer\\' => 20, 26 'PHPMailer\\PHPMailer\\' => 20,
18 ), 27 ),
19 'M' => 28 'M' =>
@@ -24,6 +33,10 @@ class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5 @@ -24,6 +33,10 @@ class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5
24 array ( 33 array (
25 'Lib\\' => 4, 34 'Lib\\' => 4,
26 ), 35 ),
  36 + 'E' =>
  37 + array (
  38 + 'Event\\' => 6,
  39 + ),
27 'C' => 40 'C' =>
28 array ( 41 array (
29 'Controller\\' => 11, 42 'Controller\\' => 11,
@@ -31,6 +44,22 @@ class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5 @@ -31,6 +44,22 @@ class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5
31 ); 44 );
32 45
33 public static $prefixDirsPsr4 = array ( 46 public static $prefixDirsPsr4 = array (
  47 + 'Swlib\\Util\\' =>
  48 + array (
  49 + 0 => __DIR__ . '/..' . '/swlib/util/src',
  50 + ),
  51 + 'Swlib\\Saber\\' =>
  52 + array (
  53 + 0 => __DIR__ . '/..' . '/swlib/saber/src',
  54 + ),
  55 + 'Swlib\\Http\\' =>
  56 + array (
  57 + 0 => __DIR__ . '/..' . '/swlib/http/src',
  58 + ),
  59 + 'Psr\\Http\\Message\\' =>
  60 + array (
  61 + 0 => __DIR__ . '/..' . '/psr/http-message/src',
  62 + ),
34 'PHPMailer\\PHPMailer\\' => 63 'PHPMailer\\PHPMailer\\' =>
35 array ( 64 array (
36 0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src', 65 0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src',
@@ -43,6 +72,10 @@ class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5 @@ -43,6 +72,10 @@ class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5
43 array ( 72 array (
44 0 => __DIR__ . '/../..' . '/lib', 73 0 => __DIR__ . '/../..' . '/lib',
45 ), 74 ),
  75 + 'Event\\' =>
  76 + array (
  77 + 0 => __DIR__ . '/../..' . '/event',
  78 + ),
46 'Controller\\' => 79 'Controller\\' =>
47 array ( 80 array (
48 0 => __DIR__ . '/../..' . '/controller', 81 0 => __DIR__ . '/../..' . '/controller',
@@ -51,12 +84,103 @@ class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5 @@ -51,12 +84,103 @@ class ComposerStaticInit510d7d2d197bed575e1fdc26074f60e5
51 84
52 public static $classMap = array ( 85 public static $classMap = array (
53 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 86 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
  87 + 'Controller\\Base' => __DIR__ . '/../..' . '/controller/Base.php',
  88 + 'Controller\\Blacklist' => __DIR__ . '/../..' . '/controller/Blacklist.php',
  89 + 'Controller\\Folder' => __DIR__ . '/../..' . '/controller/Folder.php',
  90 + 'Controller\\Home' => __DIR__ . '/../..' . '/controller/Home.php',
  91 + 'Controller\\Job' => __DIR__ . '/../..' . '/controller/Job.php',
  92 + 'Controller\\Login' => __DIR__ . '/../..' . '/controller/Login.php',
  93 + 'Controller\\Test' => __DIR__ . '/../..' . '/controller/Test.php',
  94 + 'Controller\\Upload' => __DIR__ . '/../..' . '/controller/Upload.php',
  95 + 'Controller\\fob_ai\\MailList' => __DIR__ . '/../..' . '/controller/fob_ai/MailList.php',
  96 + 'Controller\\v2\\Home' => __DIR__ . '/../..' . '/controller/v2/Home.php',
  97 + 'Event\\syncMail' => __DIR__ . '/../..' . '/event/syncMail.php',
  98 + 'Lib\\App' => __DIR__ . '/../..' . '/lib/App.php',
  99 + 'Lib\\Db' => __DIR__ . '/../..' . '/lib/Db.php',
  100 + 'Lib\\DbException' => __DIR__ . '/../..' . '/lib/DbException.php',
  101 + 'Lib\\DbPool' => __DIR__ . '/../..' . '/lib/DbPool.php',
  102 + 'Lib\\DbQuery' => __DIR__ . '/../..' . '/lib/DbQuery.php',
  103 + 'Lib\\Err' => __DIR__ . '/../..' . '/lib/Err.php',
  104 + 'Lib\\Lang' => __DIR__ . '/../..' . '/lib/Lang.php',
  105 + 'Lib\\Log' => __DIR__ . '/../..' . '/lib/Log.php',
  106 + 'Lib\\Mail\\Body' => __DIR__ . '/../..' . '/lib/Mail/Body.php',
  107 + 'Lib\\Mail\\DeCoding' => __DIR__ . '/../..' . '/lib/Mail/DeCoding.php',
  108 + 'Lib\\Mail\\Imap' => __DIR__ . '/../..' . '/lib/Mail/Imap.php',
  109 + 'Lib\\Mail\\Mail' => __DIR__ . '/../..' . '/lib/Mail/Mail.php',
  110 + 'Lib\\Mail\\MailFun' => __DIR__ . '/../..' . '/lib/Mail/MailFun.php',
  111 + 'Lib\\Redis' => __DIR__ . '/../..' . '/lib/Redis.php',
  112 + 'Lib\\RedisPool' => __DIR__ . '/../..' . '/lib/RedisPool.php',
  113 + 'Lib\\RedisQuery' => __DIR__ . '/../..' . '/lib/RedisQuery.php',
  114 + 'Lib\\Route' => __DIR__ . '/../..' . '/lib/Route.php',
  115 + 'Lib\\UploadFile' => __DIR__ . '/../..' . '/lib/UploadFile.php',
  116 + 'Lib\\Verify' => __DIR__ . '/../..' . '/lib/Verify.php',
  117 + 'Model\\blacklist' => __DIR__ . '/../..' . '/model/blacklist.php',
  118 + 'Model\\bodySql' => __DIR__ . '/../..' . '/model/bodySql.php',
  119 + 'Model\\emailSql' => __DIR__ . '/../..' . '/model/emailSql.php',
  120 + 'Model\\folderSql' => __DIR__ . '/../..' . '/model/folderSql.php',
  121 + 'Model\\hostSql' => __DIR__ . '/../..' . '/model/hostSql.php',
  122 + 'Model\\listsSql' => __DIR__ . '/../..' . '/model/listsSql.php',
  123 + 'Model\\sendJobStatusSql' => __DIR__ . '/../..' . '/model/sendJobStatusSql.php',
  124 + 'Model\\sendJobsSql' => __DIR__ . '/../..' . '/model/sendJobsSql.php',
54 'PHPMailer\\PHPMailer\\Exception' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/Exception.php', 125 'PHPMailer\\PHPMailer\\Exception' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/Exception.php',
55 'PHPMailer\\PHPMailer\\OAuth' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/OAuth.php', 126 'PHPMailer\\PHPMailer\\OAuth' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/OAuth.php',
56 'PHPMailer\\PHPMailer\\OAuthTokenProvider' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/OAuthTokenProvider.php', 127 'PHPMailer\\PHPMailer\\OAuthTokenProvider' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/OAuthTokenProvider.php',
57 'PHPMailer\\PHPMailer\\PHPMailer' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/PHPMailer.php', 128 'PHPMailer\\PHPMailer\\PHPMailer' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/PHPMailer.php',
58 'PHPMailer\\PHPMailer\\POP3' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/POP3.php', 129 'PHPMailer\\PHPMailer\\POP3' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/POP3.php',
59 'PHPMailer\\PHPMailer\\SMTP' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/SMTP.php', 130 'PHPMailer\\PHPMailer\\SMTP' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/SMTP.php',
  131 + 'Psr\\Http\\Message\\MessageInterface' => __DIR__ . '/..' . '/psr/http-message/src/MessageInterface.php',
  132 + 'Psr\\Http\\Message\\RequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/RequestInterface.php',
  133 + 'Psr\\Http\\Message\\ResponseInterface' => __DIR__ . '/..' . '/psr/http-message/src/ResponseInterface.php',
  134 + 'Psr\\Http\\Message\\ServerRequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/ServerRequestInterface.php',
  135 + 'Psr\\Http\\Message\\StreamInterface' => __DIR__ . '/..' . '/psr/http-message/src/StreamInterface.php',
  136 + 'Psr\\Http\\Message\\UploadedFileInterface' => __DIR__ . '/..' . '/psr/http-message/src/UploadedFileInterface.php',
  137 + 'Psr\\Http\\Message\\UriInterface' => __DIR__ . '/..' . '/psr/http-message/src/UriInterface.php',
  138 + 'Swlib\\Http\\BufferStream' => __DIR__ . '/..' . '/swlib/http/src/BufferStream.php',
  139 + 'Swlib\\Http\\ContentType' => __DIR__ . '/..' . '/swlib/http/src/ContentType.php',
  140 + 'Swlib\\Http\\Cookie' => __DIR__ . '/..' . '/swlib/http/src/Cookie.php',
  141 + 'Swlib\\Http\\Cookies' => __DIR__ . '/..' . '/swlib/http/src/Cookies.php',
  142 + 'Swlib\\Http\\CookiesManagerTrait' => __DIR__ . '/..' . '/swlib/http/src/CookiesManagerTrait.php',
  143 + 'Swlib\\Http\\Exception\\BadResponseException' => __DIR__ . '/..' . '/swlib/http/src/Exception/BadResponseException.php',
  144 + 'Swlib\\Http\\Exception\\ClientException' => __DIR__ . '/..' . '/swlib/http/src/Exception/ClientException.php',
  145 + 'Swlib\\Http\\Exception\\ConnectException' => __DIR__ . '/..' . '/swlib/http/src/Exception/ConnectException.php',
  146 + 'Swlib\\Http\\Exception\\HttpExceptionMask' => __DIR__ . '/..' . '/swlib/http/src/Exception/HttpExceptionMask.php',
  147 + 'Swlib\\Http\\Exception\\RequestException' => __DIR__ . '/..' . '/swlib/http/src/Exception/RequestException.php',
  148 + 'Swlib\\Http\\Exception\\ServerException' => __DIR__ . '/..' . '/swlib/http/src/Exception/ServerException.php',
  149 + 'Swlib\\Http\\Exception\\TooManyRedirectsException' => __DIR__ . '/..' . '/swlib/http/src/Exception/TooManyRedirectsException.php',
  150 + 'Swlib\\Http\\Exception\\TransferException' => __DIR__ . '/..' . '/swlib/http/src/Exception/TransferException.php',
  151 + 'Swlib\\Http\\Message' => __DIR__ . '/..' . '/swlib/http/src/Message.php',
  152 + 'Swlib\\Http\\PumpStream' => __DIR__ . '/..' . '/swlib/http/src/PumpStream.php',
  153 + 'Swlib\\Http\\Request' => __DIR__ . '/..' . '/swlib/http/src/Request.php',
  154 + 'Swlib\\Http\\Response' => __DIR__ . '/..' . '/swlib/http/src/Response.php',
  155 + 'Swlib\\Http\\Rfc7230' => __DIR__ . '/..' . '/swlib/http/src/Rfc7230.php',
  156 + 'Swlib\\Http\\Status' => __DIR__ . '/..' . '/swlib/http/src/Status.php',
  157 + 'Swlib\\Http\\Stream' => __DIR__ . '/..' . '/swlib/http/src/Stream.php',
  158 + 'Swlib\\Http\\Suffix' => __DIR__ . '/..' . '/swlib/http/src/Suffix.php',
  159 + 'Swlib\\Http\\SwUploadFile' => __DIR__ . '/..' . '/swlib/http/src/SwUploadFile.php',
  160 + 'Swlib\\Http\\UploadedFile' => __DIR__ . '/..' . '/swlib/http/src/UploadedFile.php',
  161 + 'Swlib\\Http\\Uri' => __DIR__ . '/..' . '/swlib/http/src/Uri.php',
  162 + 'Swlib\\Http\\UriNormalizer' => __DIR__ . '/..' . '/swlib/http/src/UriNormalizer.php',
  163 + 'Swlib\\Http\\UriResolver' => __DIR__ . '/..' . '/swlib/http/src/UriResolver.php',
  164 + 'Swlib\\Http\\Util' => __DIR__ . '/..' . '/swlib/http/src/Util.php',
  165 + 'Swlib\\Saber' => __DIR__ . '/..' . '/swlib/saber/src/Saber.php',
  166 + 'Swlib\\SaberGM' => __DIR__ . '/..' . '/swlib/saber/src/SaberGM.php',
  167 + 'Swlib\\Saber\\ClientPool' => __DIR__ . '/..' . '/swlib/saber/src/ClientPool.php',
  168 + 'Swlib\\Saber\\Request' => __DIR__ . '/..' . '/swlib/saber/src/Request.php',
  169 + 'Swlib\\Saber\\RequestQueue' => __DIR__ . '/..' . '/swlib/saber/src/RequestQueue.php',
  170 + 'Swlib\\Saber\\Response' => __DIR__ . '/..' . '/swlib/saber/src/Response.php',
  171 + 'Swlib\\Saber\\ResponseMap' => __DIR__ . '/..' . '/swlib/saber/src/ResponseMap.php',
  172 + 'Swlib\\Saber\\WebSocket' => __DIR__ . '/..' . '/swlib/saber/src/WebSocket.php',
  173 + 'Swlib\\Saber\\WebSocketFrame' => __DIR__ . '/..' . '/swlib/saber/src/WebSocketFrame.php',
  174 + 'Swlib\\Util\\ArrayMap' => __DIR__ . '/..' . '/swlib/util/src/ArrayMap.php',
  175 + 'Swlib\\Util\\DataParser' => __DIR__ . '/..' . '/swlib/util/src/DataParser.php',
  176 + 'Swlib\\Util\\Helper' => __DIR__ . '/..' . '/swlib/util/src/Helper.php',
  177 + 'Swlib\\Util\\InterceptorTrait' => __DIR__ . '/..' . '/swlib/util/src/InterceptorTrait.php',
  178 + 'Swlib\\Util\\MapPool' => __DIR__ . '/..' . '/swlib/util/src/MapPool.php',
  179 + 'Swlib\\Util\\Serialize' => __DIR__ . '/..' . '/swlib/util/src/Serialize.php',
  180 + 'Swlib\\Util\\SingletonTrait' => __DIR__ . '/..' . '/swlib/util/src/SingletonTrait.php',
  181 + 'Swlib\\Util\\SpecialMarkTrait' => __DIR__ . '/..' . '/swlib/util/src/SpecialMarkTrait.php',
  182 + 'Swlib\\Util\\StringDataParserTrait' => __DIR__ . '/..' . '/swlib/util/src/StringDataParserTrait.php',
  183 + 'Swlib\\Util\\TypeDetector' => __DIR__ . '/..' . '/swlib/util/src/TypeDetector.php',
60 ); 184 );
61 185
62 public static function getInitializer(ClassLoader $loader) 186 public static function getInitializer(ClassLoader $loader)
@@ -88,6 +88,261 @@ @@ -88,6 +88,261 @@
88 } 88 }
89 ], 89 ],
90 "install-path": "../phpmailer/phpmailer" 90 "install-path": "../phpmailer/phpmailer"
  91 + },
  92 + {
  93 + "name": "psr/http-message",
  94 + "version": "1.1",
  95 + "version_normalized": "1.1.0.0",
  96 + "source": {
  97 + "type": "git",
  98 + "url": "https://github.com/php-fig/http-message.git",
  99 + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
  100 + },
  101 + "dist": {
  102 + "type": "zip",
  103 + "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
  104 + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
  105 + "shasum": "",
  106 + "mirrors": [
  107 + {
  108 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
  109 + "preferred": true
  110 + }
  111 + ]
  112 + },
  113 + "require": {
  114 + "php": "^7.2 || ^8.0"
  115 + },
  116 + "time": "2023-04-04T09:50:52+00:00",
  117 + "type": "library",
  118 + "extra": {
  119 + "branch-alias": {
  120 + "dev-master": "1.1.x-dev"
  121 + }
  122 + },
  123 + "installation-source": "dist",
  124 + "autoload": {
  125 + "psr-4": {
  126 + "Psr\\Http\\Message\\": "src/"
  127 + }
  128 + },
  129 + "notification-url": "https://packagist.org/downloads/",
  130 + "license": [
  131 + "MIT"
  132 + ],
  133 + "authors": [
  134 + {
  135 + "name": "PHP-FIG",
  136 + "homepage": "http://www.php-fig.org/"
  137 + }
  138 + ],
  139 + "description": "Common interface for HTTP messages",
  140 + "homepage": "https://github.com/php-fig/http-message",
  141 + "keywords": [
  142 + "http",
  143 + "http-message",
  144 + "psr",
  145 + "psr-7",
  146 + "request",
  147 + "response"
  148 + ],
  149 + "support": {
  150 + "source": "https://github.com/php-fig/http-message/tree/1.1"
  151 + },
  152 + "install-path": "../psr/http-message"
  153 + },
  154 + {
  155 + "name": "swlib/http",
  156 + "version": "v1.0.8",
  157 + "version_normalized": "1.0.8.0",
  158 + "source": {
  159 + "type": "git",
  160 + "url": "https://github.com/swlib/http.git",
  161 + "reference": "e97d9d05b741d4ee7ef58824a280acf983354d5e"
  162 + },
  163 + "dist": {
  164 + "type": "zip",
  165 + "url": "https://api.github.com/repos/swlib/http/zipball/e97d9d05b741d4ee7ef58824a280acf983354d5e",
  166 + "reference": "e97d9d05b741d4ee7ef58824a280acf983354d5e",
  167 + "shasum": "",
  168 + "mirrors": [
  169 + {
  170 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
  171 + "preferred": true
  172 + }
  173 + ]
  174 + },
  175 + "require": {
  176 + "php": ">=7.1",
  177 + "psr/http-message": "~1.0"
  178 + },
  179 + "require-dev": {
  180 + "phpunit/phpunit": "~7"
  181 + },
  182 + "time": "2020-08-15T10:36:45+00:00",
  183 + "type": "library",
  184 + "installation-source": "dist",
  185 + "autoload": {
  186 + "files": [
  187 + "src/functions.php"
  188 + ],
  189 + "psr-4": {
  190 + "Swlib\\Http\\": "src"
  191 + }
  192 + },
  193 + "notification-url": "https://packagist.org/downloads/",
  194 + "license": [
  195 + "MIT"
  196 + ],
  197 + "authors": [
  198 + {
  199 + "name": "twosee",
  200 + "email": "twose@qq.com"
  201 + }
  202 + ],
  203 + "description": "Swlib-HTTP base class repository, PSR implementation",
  204 + "keywords": [
  205 + "http",
  206 + "php",
  207 + "psr7",
  208 + "swoole"
  209 + ],
  210 + "support": {
  211 + "issues": "https://github.com/swlib/http/issues",
  212 + "source": "https://github.com/swlib/http/tree/v1.x"
  213 + },
  214 + "install-path": "../swlib/http"
  215 + },
  216 + {
  217 + "name": "swlib/saber",
  218 + "version": "v1.0.18",
  219 + "version_normalized": "1.0.18.0",
  220 + "source": {
  221 + "type": "git",
  222 + "url": "https://github.com/swlib/saber.git",
  223 + "reference": "24034ea70d64063cc9032c4aa08cb888995df190"
  224 + },
  225 + "dist": {
  226 + "type": "zip",
  227 + "url": "https://api.github.com/repos/swlib/saber/zipball/24034ea70d64063cc9032c4aa08cb888995df190",
  228 + "reference": "24034ea70d64063cc9032c4aa08cb888995df190",
  229 + "shasum": "",
  230 + "mirrors": [
  231 + {
  232 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
  233 + "preferred": true
  234 + }
  235 + ]
  236 + },
  237 + "require": {
  238 + "php": ">=7.1",
  239 + "swlib/http": "^1.0",
  240 + "swlib/util": "^1.0"
  241 + },
  242 + "require-dev": {
  243 + "phpunit/phpunit": "~7"
  244 + },
  245 + "time": "2021-04-20T06:28:59+00:00",
  246 + "type": "library",
  247 + "installation-source": "dist",
  248 + "autoload": {
  249 + "files": [
  250 + "src/include/functions.php"
  251 + ],
  252 + "psr-4": {
  253 + "Swlib\\Saber\\": "src"
  254 + },
  255 + "classmap": [
  256 + "src/Saber.php",
  257 + "src/SaberGM.php"
  258 + ]
  259 + },
  260 + "notification-url": "https://packagist.org/downloads/",
  261 + "license": [
  262 + "Apache-2.0"
  263 + ],
  264 + "authors": [
  265 + {
  266 + "name": "twosee",
  267 + "email": "twose@qq.com"
  268 + }
  269 + ],
  270 + "description": "Swoole coroutine HTTP client",
  271 + "keywords": [
  272 + "ajax",
  273 + "axios",
  274 + "client",
  275 + "coroutine",
  276 + "curl",
  277 + "http",
  278 + "php",
  279 + "psr7",
  280 + "requests",
  281 + "swoole"
  282 + ],
  283 + "support": {
  284 + "issues": "https://github.com/swlib/saber/issues",
  285 + "source": "https://github.com/swlib/saber/tree/v1.0.18"
  286 + },
  287 + "install-path": "../swlib/saber"
  288 + },
  289 + {
  290 + "name": "swlib/util",
  291 + "version": "v1.0.3",
  292 + "version_normalized": "1.0.3.0",
  293 + "source": {
  294 + "type": "git",
  295 + "url": "https://github.com/swlib/util.git",
  296 + "reference": "300f551753702f5bfcbfb814d53bdbf057719a43"
  297 + },
  298 + "dist": {
  299 + "type": "zip",
  300 + "url": "https://api.github.com/repos/swlib/util/zipball/300f551753702f5bfcbfb814d53bdbf057719a43",
  301 + "reference": "300f551753702f5bfcbfb814d53bdbf057719a43",
  302 + "shasum": "",
  303 + "mirrors": [
  304 + {
  305 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
  306 + "preferred": true
  307 + }
  308 + ]
  309 + },
  310 + "require": {
  311 + "php": ">=7.0"
  312 + },
  313 + "require-dev": {
  314 + "phpunit/phpunit": "~7"
  315 + },
  316 + "time": "2020-08-24T10:00:58+00:00",
  317 + "type": "library",
  318 + "installation-source": "dist",
  319 + "autoload": {
  320 + "psr-4": {
  321 + "Swlib\\Util\\": "src"
  322 + }
  323 + },
  324 + "notification-url": "https://packagist.org/downloads/",
  325 + "license": [
  326 + "Apache-2.0"
  327 + ],
  328 + "authors": [
  329 + {
  330 + "name": "twosee",
  331 + "email": "twose@qq.com"
  332 + }
  333 + ],
  334 + "description": "Swlib Toolkit",
  335 + "keywords": [
  336 + "php",
  337 + "swlib",
  338 + "swoole",
  339 + "util"
  340 + ],
  341 + "support": {
  342 + "issues": "https://github.com/swlib/util/issues",
  343 + "source": "https://github.com/swlib/util/tree/v1.0.3"
  344 + },
  345 + "install-path": "../swlib/util"
91 } 346 }
92 ], 347 ],
93 "dev": true, 348 "dev": true,
1 <?php return array( 1 <?php return array(
2 'root' => array( 2 'root' => array(
3 - 'pretty_version' => 'dev-master',  
4 - 'version' => 'dev-master', 3 + 'pretty_version' => '1.0.0+no-version-set',
  4 + 'version' => '1.0.0.0',
5 'type' => 'project', 5 'type' => 'project',
6 'install_path' => __DIR__ . '/../../', 6 'install_path' => __DIR__ . '/../../',
7 'aliases' => array(), 7 'aliases' => array(),
8 - 'reference' => '977da5b2ffd636c1a21437e7f56a9b1fb6ebeaf2', 8 + 'reference' => NULL,
9 'name' => 'globalso/email', 9 'name' => 'globalso/email',
10 'dev' => true, 10 'dev' => true,
11 ), 11 ),
12 'versions' => array( 12 'versions' => array(
13 'globalso/email' => array( 13 'globalso/email' => array(
14 - 'pretty_version' => 'dev-master',  
15 - 'version' => 'dev-master', 14 + 'pretty_version' => '1.0.0+no-version-set',
  15 + 'version' => '1.0.0.0',
16 'type' => 'project', 16 'type' => 'project',
17 'install_path' => __DIR__ . '/../../', 17 'install_path' => __DIR__ . '/../../',
18 'aliases' => array(), 18 'aliases' => array(),
19 - 'reference' => '977da5b2ffd636c1a21437e7f56a9b1fb6ebeaf2', 19 + 'reference' => NULL,
20 'dev_requirement' => false, 20 'dev_requirement' => false,
21 ), 21 ),
22 'phpmailer/phpmailer' => array( 22 'phpmailer/phpmailer' => array(
@@ -28,5 +28,41 @@ @@ -28,5 +28,41 @@
28 'reference' => '49cd7ea3d2563f028d7811f06864a53b1f15ff55', 28 'reference' => '49cd7ea3d2563f028d7811f06864a53b1f15ff55',
29 'dev_requirement' => false, 29 'dev_requirement' => false,
30 ), 30 ),
  31 + 'psr/http-message' => array(
  32 + 'pretty_version' => '1.1',
  33 + 'version' => '1.1.0.0',
  34 + 'type' => 'library',
  35 + 'install_path' => __DIR__ . '/../psr/http-message',
  36 + 'aliases' => array(),
  37 + 'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba',
  38 + 'dev_requirement' => false,
  39 + ),
  40 + 'swlib/http' => array(
  41 + 'pretty_version' => 'v1.0.8',
  42 + 'version' => '1.0.8.0',
  43 + 'type' => 'library',
  44 + 'install_path' => __DIR__ . '/../swlib/http',
  45 + 'aliases' => array(),
  46 + 'reference' => 'e97d9d05b741d4ee7ef58824a280acf983354d5e',
  47 + 'dev_requirement' => false,
  48 + ),
  49 + 'swlib/saber' => array(
  50 + 'pretty_version' => 'v1.0.18',
  51 + 'version' => '1.0.18.0',
  52 + 'type' => 'library',
  53 + 'install_path' => __DIR__ . '/../swlib/saber',
  54 + 'aliases' => array(),
  55 + 'reference' => '24034ea70d64063cc9032c4aa08cb888995df190',
  56 + 'dev_requirement' => false,
  57 + ),
  58 + 'swlib/util' => array(
  59 + 'pretty_version' => 'v1.0.3',
  60 + 'version' => '1.0.3.0',
  61 + 'type' => 'library',
  62 + 'install_path' => __DIR__ . '/../swlib/util',
  63 + 'aliases' => array(),
  64 + 'reference' => '300f551753702f5bfcbfb814d53bdbf057719a43',
  65 + 'dev_requirement' => false,
  66 + ),
31 ), 67 ),
32 ); 68 );