| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace App\Module\Game\DCache;
- use App\Module\GameItems\Commands\GenerateChestJsonCommand;
- use App\Module\GameItems\Commands\GenerateItemsJsonCommand;
- use App\Module\LCache\DQueueJob;
- /**
- * 宝箱配置表 缓存
- */
- class ChestJsonConfig extends DQueueJob
- {
- static public function getNewData(array $parameter = [])
- {
- return GenerateChestJsonCommand::generateJson();
- }
- static public function getTtl(): int
- {
- return 3600;
- }
- static public function getPreventDuplication(): int
- {
- return 600;
- }
- static public function getRequiredArgIndex(): array
- {
- return [];
- }
- }
|