You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
517 B
23 lines
517 B
<?php
|
|
namespace app\home\service;
|
|
|
|
use app\model\LanguageSettingModel;
|
|
use app\model\ServiceSettingModel;
|
|
|
|
/**
|
|
* 语言相关
|
|
*/
|
|
class LanguageService extends BaseHomeService
|
|
{
|
|
public function getLangList() : array
|
|
{
|
|
$list=LanguageSettingModel::getLangList();
|
|
return $this->toData(0,'Request successful.',$list);
|
|
}
|
|
public function getServiceList() : array
|
|
{
|
|
$list=ServiceSettingModel::getServiceList();
|
|
return $this->toData(0,'Request successful.',$list);
|
|
}
|
|
|
|
}
|