first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace app\common\tools;
use app\facade\RedisCache;
class MessageNotice
{
/**
* 构造函数
*/
function __construct() {
//暂时没有需要初始化的数据
}
//实际太少代码了,有没有必要这么写,值得思考下
public function notice($data) {
RedisCache::lpush('MESSAGE_QUEUE',json_encode($data));
}
}