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.
16 lines
345 B
16 lines
345 B
<?php
|
|
|
|
namespace app\home\controller;
|
|
|
|
use app\home\service\ConfigService;
|
|
|
|
class Config extends HomeBaseController{
|
|
|
|
// 获取管理端添加的配置
|
|
public function getConfigByKey()
|
|
{
|
|
$service = new ConfigService();
|
|
$result = $service->getConfigByKey($this->request->param());
|
|
return json($result);
|
|
}
|
|
}
|