作者 lyh

变更数据

@@ -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 ]);