feedback module

This commit is contained in:
lanzongjun
2022-09-02 11:37:53 +08:00
parent 17b58bc39b
commit 2dbf74064c
4 changed files with 18 additions and 14 deletions
+2
View File
@@ -18,6 +18,8 @@ class entry extends baseEntry
{
parent::__construct();
if($this->app->action == 'options') return $this->send(204);
if(!isset($this->app->user) or $this->app->user->account == 'guest') $this->sendError(401, 'Unauthorized');
$this->dao = $this->loadModel('common')->dao;