From ae34a5e64ba9e3d294dae156974d3c90e44e6242 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Tue, 19 Nov 2019 18:31:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=8A=9E=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Addons/SiteStat/SiteStatAddon.class.php | 4 ++++ Addons/SiteStat/info.html | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Addons/SiteStat/SiteStatAddon.class.php b/Addons/SiteStat/SiteStatAddon.class.php index 0ba160cd4..0e2da09be 100644 --- a/Addons/SiteStat/SiteStatAddon.class.php +++ b/Addons/SiteStat/SiteStatAddon.class.php @@ -662,6 +662,10 @@ class SiteStatAddon extends Addon $msgc = M('Msg', 'tab_')->where(array('user_id' => UID, 'status' => 2))->count();//站内通知 $daiban['msgc'] = $msgc; + $ver = M('promote','tab_')->where(['ver_status'=>3])->count(); + $editver = M('promote','tab_')->where(['ver_status'=>4])->count(); + $daiban['ver'] = $ver; + $daiban['editver'] = $editver; $this->assign('daiban', $daiban); } diff --git a/Addons/SiteStat/info.html b/Addons/SiteStat/info.html index 5b25cc243..1ffdedf68 100644 --- a/Addons/SiteStat/info.html +++ b/Addons/SiteStat/info.html @@ -61,7 +61,7 @@ $(document).ready(function () { -
+
@@ -121,6 +121,17 @@ $(document).ready(function () { + + + + + + + + + + +
推广员包待更新数 {$daiban['msgc']}
【资质审核】推广员身份认证审核{$daiban['ver']}
【修改资质审核】推广员身份修改认证审核{$daiban['editver']}