作者 邓超

优化

@@ -151,7 +151,7 @@ class Body { @@ -151,7 +151,7 @@ class Body {
151 } 151 }
152 152
153 if(!$data->get('content-type')){ 153 if(!$data->get('content-type')){
154 - $data->set('content-type','text/html'); 154 + $data->set('content-type','text/plain');
155 } 155 }
156 156
157 $this->items[] = $this->bodyDeCode($data); 157 $this->items[] = $this->bodyDeCode($data);
@@ -188,7 +188,7 @@ class Body { @@ -188,7 +188,7 @@ class Body {
188 188
189 $data->body = $text; 189 $data->body = $text;
190 if(!$data->get('content-type')){ 190 if(!$data->get('content-type')){
191 - $data->set('content-type','text/html'); 191 + $data->set('content-type','text/plain');
192 } 192 }
193 $this->items[] = $this->bodyDeCode($data); 193 $this->items[] = $this->bodyDeCode($data);
194 } 194 }