From db936c2a0288a67f8214d51fe54c008c4b206c14 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 2 Apr 2018 11:09:43 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E9=85=8D=E7=BD=AE=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Block.php | 1 - application/wechat/controller/Fans.php | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/application/wechat/controller/Block.php b/application/wechat/controller/Block.php index 333622c8f..fc8be81ef 100644 --- a/application/wechat/controller/Block.php +++ b/application/wechat/controller/Block.php @@ -18,7 +18,6 @@ use controller\BasicAdmin; use service\ToolsService; use service\WechatService; use think\Db; -use think\Exception; /** * 微信粉丝管理 diff --git a/application/wechat/controller/Fans.php b/application/wechat/controller/Fans.php index 06c5bcc26..d6d677a31 100644 --- a/application/wechat/controller/Fans.php +++ b/application/wechat/controller/Fans.php @@ -177,6 +177,8 @@ class Fans extends BasicAdmin */ public function sync() { + echo 11; + exit; try { Db::name($this->table)->where('1=1')->delete(); FansService::sync();