添加网站文件

This commit is contained in:
2025-12-22 13:59:40 +08:00
commit 117aaf83d1
19468 changed files with 2111999 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace app\admin\controller;
use app\admin\logic\HotSearchLogic;
use app\common\server\ConfigServer;
class HotSearch extends AdminBase
{
public function index() {
$info = HotSearchLogic::info();
$this->assign('info',$info);
return $this->fetch();
}
public function set(){
$post = $this->request->post();
$result = HotSearchLogic::set($post);
if($result == true){
$this->_success('操作成功');
}
$this->_error('操作失败');
}
}