添加网站文件

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,16 @@
<?php
namespace app\admin\controller;
use app\admin\logic\OpLogic;
class Op extends Admin{
public function config(){
if($this->request->isAjax()){
$post = $this->request->post();
OpLogic::setConfig($post);
$this->_success('设置成功',[]);
}
$this->assign('config',OpLogic::getConfig(['app_id','secret']));
return $this->fetch();
}
}