$msg = $request->get('content'); $msg = trim($msg); $contents = explode("\r\n",$msg);
以"\r\n"区分每一行数据,注意使用的是双引号,不能是单引号