初始化本地仓库

This commit is contained in:
2026-08-31 11:33:59 +08:00
commit 663f74b633
2390 changed files with 402918 additions and 0 deletions
@@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
/**
*+------------------
* madong
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: http://www.madong.tech
*/
namespace app\service\admin\gateway;
use app\dao\gateway\RateLimiterDao;
use core\base\BaseService;
class RetaLimiterService extends BaseService
{
public function __construct(RateLimiterDao $dao)
{
$this->dao = $dao;
}
/**
* 缓存key
*/
const CACHE_KEY = 'rate_limiter';
}
@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
/**
*+------------------
* madong
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: http://www.madong.tech
*/
namespace app\service\admin\gateway;
use app\dao\gateway\RateRestrictionsDao;
use core\base\BaseService;
class RetaRestrictionsService extends BaseService
{
public function __construct(RateRestrictionsDao $dao)
{
$this->dao = $dao;
}
/**
* 缓存key
*/
const CACHE_KEY = 'rate_restrictions';
}