diff --git a/app/admin/controller/Common.php b/app/admin/controller/Common.php
index 58d0da05d..f01c89b68 100755
--- a/app/admin/controller/Common.php
+++ b/app/admin/controller/Common.php
@@ -63,6 +63,9 @@ class Common extends BaseController
protected $form_order_by;
protected $form_error;
+ // 系统类型
+ protected $system_type;
+
/**
* 构造方法
* @author Devil
@@ -144,6 +147,13 @@ class Common extends BaseController
*/
public function ViewInit()
{
+ // 系统类型
+ $this->system_type = SystemService::SystemTypeValue();
+ MyViewAssign('system_type', $this->system_type);
+
+ // 公共参数
+ MyViewAssign('params', $this->data_request);
+
// 主题
$default_theme = 'default';
MyViewAssign('default_theme', $default_theme);
diff --git a/app/admin/view/default/public/header.html b/app/admin/view/default/public/header.html
index ac5c4c40a..a0ea3bf5d 100755
--- a/app/admin/view/default/public/header.html
+++ b/app/admin/view/default/public/header.html
@@ -58,6 +58,7 @@
{{/if}}