update: fix config char type

This commit is contained in:
tokumeikoi 2022-10-15 13:32:14 +08:00
parent bc9cf36b2b
commit 7907f455ce

View File

@ -20,7 +20,7 @@ class CommController extends Controller
'withdraw_close' => (int)config('v2board.withdraw_close_enable', 0), 'withdraw_close' => (int)config('v2board.withdraw_close_enable', 0),
'currency' => config('v2board.currency', 'CNY'), 'currency' => config('v2board.currency', 'CNY'),
'currency_symbol' => config('v2board.currency_symbol', '¥'), 'currency_symbol' => config('v2board.currency_symbol', '¥'),
'commission_distribution_enable' => config('v2board.commission_distribution_enable', 0), 'commission_distribution_enable' => (int)config('v2board.commission_distribution_enable', 0),
'commission_distribution_l1' => config('v2board.commission_distribution_l1'), 'commission_distribution_l1' => config('v2board.commission_distribution_l1'),
'commission_distribution_l2' => config('v2board.commission_distribution_l2'), 'commission_distribution_l2' => config('v2board.commission_distribution_l2'),
'commission_distribution_l3' => config('v2board.commission_distribution_l3') 'commission_distribution_l3' => config('v2board.commission_distribution_l3')