+ Add api for zdisk.

This commit is contained in:
zhujinyong
2021-09-29 14:47:41 +08:00
parent 1cf925a37c
commit 533c559b0c
10 changed files with 265 additions and 2 deletions
+13 -2
View File
@@ -5,7 +5,7 @@
*
* @package framework
*
* The author disclaims copyright to this source code. In place of
* The author disclaims copyright to this source code. In place of
* a legal notice, here is a blessing:
*
* May you do good and not evil.
@@ -40,6 +40,15 @@ class baseEntry
*/
public $app;
/**
* 语言项 $lang。
* The global $app object.
*
* @var object
* @access public
*/
public $lang;
/**
* 提交的POST数据
* The decoded request body.
@@ -58,9 +67,11 @@ class baseEntry
*/
public function __construct()
{
global $app, $config;
global $app, $config, $lang;
$this->app = $app;
$this->config = $config;
$this->lang = $lang;
$this->parseRequestBody();
}