helper currencies()
This commit is contained in:
parent
075e0dac7a
commit
1e79d950ba
|
|
@ -3,6 +3,7 @@
|
|||
use Beike\Models\Customer;
|
||||
use Beike\Models\Language;
|
||||
use Beike\Models\AdminUser;
|
||||
use Beike\Repositories\CurrencyRepo;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Support\Collection;
|
||||
use Beike\Services\CurrencyService;
|
||||
|
|
@ -286,6 +287,11 @@ function language_packages(): array
|
|||
}
|
||||
|
||||
|
||||
function currencies(): array
|
||||
{
|
||||
return CurrencyRepo::all()->where('status', true)->get();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前货币
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue