更新前端文件

This commit is contained in:
2019-07-06 16:59:35 +08:00
parent 777b452685
commit 79615defdb
1758 changed files with 315372 additions and 12014 deletions

View File

@@ -25,7 +25,8 @@ class Config extends Admin{
*/
public function group(ConfigModel $config){
if ($this->request->isAjax()) {
# code...
$this->data['code'] = 1;
return $this->data;
}else{
$this->data['id'] = $this->request->param('id', 1);
$res = $config->where(array('status' => 1, 'group' => $this->data['id']))->field('id,name,title,extra,value,remark,type')->order('sort')->select();

View File

@@ -26,6 +26,11 @@ class Index extends Admin{
* @title 更新缓存
*/
public function clear(){
if ($this->request->isAjax()) {
# code...
}else{
return $this->data;
}
}
/**