diff --git a/app/Console/Commands/Test.php b/app/Console/Commands/Test.php index 7d629dd5..dee5383c 100644 --- a/app/Console/Commands/Test.php +++ b/app/Console/Commands/Test.php @@ -38,6 +38,7 @@ use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Redis; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Str; +use Imdb\Cache; use League\Flysystem\StorageAttributes; use Nexus\Database\NexusDB; use Nexus\Imdb\Imdb; @@ -86,7 +87,7 @@ class Test extends Command */ public function handle() { - + $r = \Illuminate\Support\Facades\Cache::lock(); } diff --git a/include/constants.php b/include/constants.php index f6b978e2..d26c4885 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@ '基本奖励', 'reward_type_harem_addition' => '后宫加成', 'bonus_base' => '基础魔力', + 'lock_text' => '系统限制 %s 秒内只能点击交换按钮一次!', ); ?> diff --git a/lang/cht/lang_mybonus.php b/lang/cht/lang_mybonus.php index c120eb79..d7376a0b 100644 --- a/lang/cht/lang_mybonus.php +++ b/lang/cht/lang_mybonus.php @@ -138,6 +138,7 @@ $lang_mybonus = array 'reward_type_basic' => '基本獎勵', 'reward_type_harem_addition' => '後宮加成', 'bonus_base' => '基礎魔力', + 'lock_text' => '系統限製 %s 秒內只能點擊交換按鈕一次!', ); ?> diff --git a/lang/en/lang_mybonus.php b/lang/en/lang_mybonus.php index ce663fce..8820f00f 100644 --- a/lang/en/lang_mybonus.php +++ b/lang/en/lang_mybonus.php @@ -138,6 +138,7 @@ where