更新
This commit is contained in:
22
app/services/system/ConfigService.php
Normal file
22
app/services/system/ConfigService.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
namespace app\services\system;
|
||||
|
||||
use app\model\system\Config;
|
||||
|
||||
class ConfigService{
|
||||
|
||||
public function getConfigField(){
|
||||
$map = [];
|
||||
|
||||
$data = Config::where($map)->select();
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user