From cd86ab12e88f5757131424a8471ce331ec45122a Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 23 Jul 2019 13:34:54 +0800 Subject: [PATCH] Update Fans.php --- application/service/controller/Fans.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/service/controller/Fans.php b/application/service/controller/Fans.php index afcb92856..832d15863 100644 --- a/application/service/controller/Fans.php +++ b/application/service/controller/Fans.php @@ -55,7 +55,8 @@ class Fans extends Controller session('current_appid', $this->appid); } if ($this->request->isGet()) { - $this->wechats = Db::name('WechatServiceConfig')->where(['status' => '1'])->column('authorizer_appid,nick_name'); + $this->where = ['status' => '1', 'service_type' => '2', 'is_deleted' => '0']; + $this->wechats = Db::name('WechatServiceConfig')->where($this->where)->column('authorizer_appid,nick_name'); } }