作者 邓超

fob

@@ -56,6 +56,9 @@ class MailList extends Base { @@ -56,6 +56,9 @@ class MailList extends Base {
56 */ 56 */
57 $form_not_in = app()->request('from_not_in'); 57 $form_not_in = app()->request('from_not_in');
58 if($form_not_in){ 58 if($form_not_in){
  59 + if(is_string($form_not_in)){
  60 + $form_not_in = explode(',',$form_not_in);
  61 + }
59 $form_not_in = is_array($form_not_in) ? $form_not_in : [$form_not_in]; 62 $form_not_in = is_array($form_not_in) ? $form_not_in : [$form_not_in];
60 $form_not_in = array_filter($form_not_in,function ($v){ 63 $form_not_in = array_filter($form_not_in,function ($v){
61 if(is_string($v) && Verify::sEmail($v)){ 64 if(is_string($v) && Verify::sEmail($v)){