...
|
...
|
@@ -98,7 +98,7 @@ class Body { |
|
|
|
|
|
// 是否是item fetch
|
|
|
if(preg_match('/^\* \d+ FETCH \(/',$raw)){
|
|
|
$body = mb_substr(trim($raw),strpos($this->raw,'(')+1,-1);
|
|
|
$body = substr(trim($raw),strpos($this->raw,'(')+1,-1);
|
|
|
// 打散成数组
|
|
|
$body = explode("\r\n",trim($body));
|
|
|
/***************** start 第一行处理 **************/
|
...
|
...
|
@@ -125,7 +125,7 @@ class Body { |
|
|
if($bodyNum[1]??0){
|
|
|
// 再次组装成字符串
|
|
|
$data->body = trim(implode("\r\n",$body));
|
|
|
$data->body = mb_substr($data->body,0,$bodyNum[1]);
|
|
|
$data->body = substr($data->body,0,$bodyNum[1]);
|
|
|
}else{
|
|
|
// -----------------------------------------------------------
|
|
|
/***************** start 最后一行处理 **************/
|
...
|
...
|
|