|
@@ -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;
|