正在显示
1 个修改的文件
包含
19 行增加
和
19 行删除
| @@ -298,25 +298,25 @@ class SyncMail { | @@ -298,25 +298,25 @@ class SyncMail { | ||
| 298 | // 是否同步body内容 | 298 | // 是否同步body内容 |
| 299 | if($isBody){ | 299 | if($isBody){ |
| 300 | 300 | ||
| 301 | - $body = [ | ||
| 302 | - 'lists_id' => $id, | ||
| 303 | - 'text_html' => [] | ||
| 304 | - ]; | ||
| 305 | - | ||
| 306 | - foreach ($item->getBody()->getItems() as $item){ | ||
| 307 | - $body['text_html'] = [ | ||
| 308 | - 'body' => $item->body, | ||
| 309 | - 'content-type' => $item->get('content-type'), | ||
| 310 | - 'content-id' => $item->get('content-id'), | ||
| 311 | - 'charset' => $item->get('charset') | ||
| 312 | - ]; | ||
| 313 | - } | ||
| 314 | - | ||
| 315 | - if($this->db->count(bodySql::has($id))){ | ||
| 316 | - $this->db->update(bodySql::$table,$body,'`lists_id` = '.$id,false); | ||
| 317 | - }else{ | ||
| 318 | - $this->db->insert(bodySql::$table,$body,false); | ||
| 319 | - } | 301 | +// $body = [ |
| 302 | +// 'lists_id' => $id, | ||
| 303 | +// 'text_html' => [] | ||
| 304 | +// ]; | ||
| 305 | +// | ||
| 306 | +// foreach ($item->getBody()->getItems() as $item){ | ||
| 307 | +// $body['text_html'][] = [ | ||
| 308 | +// 'body' => $item->body, | ||
| 309 | +// 'content-type' => $item->get('content-type'), | ||
| 310 | +// 'content-id' => $item->get('content-id'), | ||
| 311 | +// 'charset' => $item->get('charset') | ||
| 312 | +// ]; | ||
| 313 | +// } | ||
| 314 | +// | ||
| 315 | +// if($this->db->count(bodySql::has($id))){ | ||
| 316 | +// $this->db->update(bodySql::$table,$body,'`lists_id` = '.$id,false); | ||
| 317 | +// }else{ | ||
| 318 | +// $this->db->insert(bodySql::$table,$body,false); | ||
| 319 | +// } | ||
| 320 | 320 | ||
| 321 | } | 321 | } |
| 322 | 322 |
-
请 注册 或 登录 后发表评论