getMarketGroupId(); $where = [ 'id'=>['in',$gids] ]; echo M("auth_group","sys_")->where($where)->save(['show_merchant'=>0]); } public function eventTest($event,$action,$arg = false) { $Event = A($event,"Event"); if(!$arg){ $res = $Event->$action(); }else{ $res = call_user_func_array(array($Event, $action), explode(":",$arg)); } dd($res); } }