正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -234,7 +234,7 @@ class TicketUploadDataLogic extends BaseLogic | @@ -234,7 +234,7 @@ class TicketUploadDataLogic extends BaseLogic | ||
| 234 | public function save5NewsData($info,$url){ | 234 | public function save5NewsData($info,$url){ |
| 235 | $response = Http::withHeaders([])->asForm()->post($url, [ | 235 | $response = Http::withHeaders([])->asForm()->post($url, [ |
| 236 | 'title' => $info['text']['title'] ?? 'ceshi123', | 236 | 'title' => $info['text']['title'] ?? 'ceshi123', |
| 237 | - 'cate' => $info['text']['cate'] ?? '', | 237 | + 'cate' => isset($info['text']['cate']) ? implode(',', $info['text']['cate']) : '', |
| 238 | 'content'=>$info['text']['content'] ?? '', | 238 | 'content'=>$info['text']['content'] ?? '', |
| 239 | 'image'=>$info['text']['image'] ?? '', | 239 | 'image'=>$info['text']['image'] ?? '', |
| 240 | ]); | 240 | ]); |
-
请 注册 或 登录 后发表评论