544782275@qq.com il y a 3 ans
Parent
commit
1427411ea1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      application/store/controller/Notice.php

+ 1 - 1
application/store/controller/Notice.php

@@ -62,7 +62,7 @@ class Notice extends Controller
         $this->title = '添加系统消息';
         if($this->request->isPost()){
             //全部用户发方
-            $user_ids=Db::table('store_member')->where('news_switch',1)->where('status',1)->where('is_deleted',0)->column('id');
+            $user_ids=Db::table('store_member')->where('status',1)->where('is_deleted',0)->column('id');
             foreach ($user_ids as $k=>$v){
                 $data=[];
                 $data['user_id'] = $v;