|
|
@@ -85,32 +85,32 @@ class ConfigController extends Controller
|
|
|
$kindID = 3018;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场'
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
foreach (range(0, 4) as $v1) {
|
|
|
$key = "jackpot_{$kindID}_{$v}_{$v1}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot彩金池 {$v1}池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_pool', ['room' => $rooms[$v], 'pool' => $v1]);
|
|
|
$key = "jackpotBase_{$kindID}_{$v}_{$v1}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot爆出线 {$v1}池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_base', ['room' => $rooms[$v], 'pool' => $v1]);
|
|
|
$key = "jackpotRate_{$kindID}_{$v}_{$v1}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot占税收比例 {$v1}池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_rate', ['room' => $rooms[$v], 'pool' => $v1]);
|
|
|
}
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -130,30 +130,30 @@ class ConfigController extends Controller
|
|
|
$kindID = 6001;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场'
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
$key = "jackpot_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot彩金池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_pool_single', ['room' => $rooms[$v]]);
|
|
|
$key = "jackpotBase_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot爆出线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_base_single', ['room' => $rooms[$v]]);
|
|
|
$key = "jackpotRate_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) . '%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot占税收比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_rate_single', ['room' => $rooms[$v]]);
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) . '%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -169,21 +169,21 @@ class ConfigController extends Controller
|
|
|
$kindID = 3019;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场'
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -200,23 +200,22 @@ class ConfigController extends Controller
|
|
|
$kindID = 5002;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场',
|
|
|
-
|
|
|
- 4 => '超级场'
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high'),
|
|
|
+ 4 => __('config_descriptions.room.super')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 4) as $v) {
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -231,22 +230,21 @@ class ConfigController extends Controller
|
|
|
$kindID = 5006;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场',
|
|
|
-
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -261,22 +259,21 @@ class ConfigController extends Controller
|
|
|
$kindID = 5007;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场',
|
|
|
-
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -291,22 +288,21 @@ class ConfigController extends Controller
|
|
|
$kindID = 5007;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场',
|
|
|
-
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -321,22 +317,21 @@ class ConfigController extends Controller
|
|
|
$kindID = 5005;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场',
|
|
|
-
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -380,32 +375,32 @@ class ConfigController extends Controller
|
|
|
$kindID = 3020;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场'
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
foreach (range(0, 3) as $v1) {
|
|
|
$key = "jackpot_{$kindID}_{$v}_{$v1}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot彩金池 {$v1}池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_pool', ['room' => $rooms[$v], 'pool' => $v1]);
|
|
|
$key = "jackpotBase_{$kindID}_{$v}_{$v1}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot爆出线 {$v1}池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_base', ['room' => $rooms[$v], 'pool' => $v1]);
|
|
|
$key = "jackpotRate_{$kindID}_{$v}_{$v1}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot占税收比例 {$v1}池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_rate', ['room' => $rooms[$v], 'pool' => $v1]);
|
|
|
}
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key).'%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -421,31 +416,31 @@ class ConfigController extends Controller
|
|
|
$kindID = 3014;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '体验场',
|
|
|
- 2 => '初级场',
|
|
|
- 3 => '中级场',
|
|
|
- 4 => '高级场'
|
|
|
+ 1 => __('config_descriptions.room.trial'),
|
|
|
+ 2 => __('config_descriptions.room.primary'),
|
|
|
+ 3 => __('config_descriptions.room.mid'),
|
|
|
+ 4 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 4) as $v) {
|
|
|
$key = "jackpot_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot彩金池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_pool_single', ['room' => $rooms[$v]]);
|
|
|
$key = "jackpotBase_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot爆出线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_base_single', ['room' => $rooms[$v]]);
|
|
|
$key = "jackpotRate_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) . '%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot占税收比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_rate_single', ['room' => $rooms[$v]]);
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) . '%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -461,30 +456,30 @@ class ConfigController extends Controller
|
|
|
$kindID = 3021;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场'
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
$key = "jackpot_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot彩金池";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_pool_single', ['room' => $rooms[$v]]);
|
|
|
$key = "jackpotBase_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot爆出线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_base_single', ['room' => $rooms[$v]]);
|
|
|
$key = "jackpotRate_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) . '%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} jackpot占税收比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.jackpot_rate_single', ['room' => $rooms[$v]]);
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) . '%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|
|
|
@@ -499,22 +494,21 @@ class ConfigController extends Controller
|
|
|
$kindID = 5004;
|
|
|
$descriptions = [];
|
|
|
$rooms = [
|
|
|
- 1 => '初级场',
|
|
|
- 2 => '中级场',
|
|
|
- 3 => '高级场'
|
|
|
+ 1 => __('config_descriptions.room.primary'),
|
|
|
+ 2 => __('config_descriptions.room.mid'),
|
|
|
+ 3 => __('config_descriptions.room.high')
|
|
|
];
|
|
|
$config = [];
|
|
|
foreach (range(1, 3) as $v) {
|
|
|
-
|
|
|
$key = "FreeWinMax_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线以下玩家最多赢多少";
|
|
|
+ $descriptions[$key] = __('config_descriptions.free_win_max', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeControl_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) / NumConfig::NUM_VALUE;
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 充值控制线";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_control', ['room' => $rooms[$v]]);
|
|
|
$key = "RechargeMaxPercent_{$kindID}_{$v}";
|
|
|
$config[$key] = $redis->get($key) . '%';
|
|
|
- $descriptions[$key] = "{$rooms[$v]} 控制线以上玩家 充值上限比例";
|
|
|
+ $descriptions[$key] = __('config_descriptions.recharge_max_percent', ['room' => $rooms[$v]]);
|
|
|
}
|
|
|
|
|
|
return view('admin.config.treasure_slot', [
|