正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -207,7 +207,7 @@ class TicketUploadDataLogic extends BaseLogic | @@ -207,7 +207,7 @@ class TicketUploadDataLogic extends BaseLogic | ||
| 207 | public function save5ProductData($info,$url){ | 207 | public function save5ProductData($info,$url){ |
| 208 | $response = Http::withHeaders([])->asForm()->post($url, [ | 208 | $response = Http::withHeaders([])->asForm()->post($url, [ |
| 209 | 'title' => $info['text']['title'], | 209 | 'title' => $info['text']['title'], |
| 210 | - 'cate_id' => $info['text']['cate_id'] ?? '', | 210 | + 'cate_id' => implode(',',$info['text']['cate']) ?? '', |
| 211 | 'content'=>$info['text']['content'] ?? '', | 211 | 'content'=>$info['text']['content'] ?? '', |
| 212 | 'short_description'=>$info['text']['short_description'] ?? '', | 212 | 'short_description'=>$info['text']['short_description'] ?? '', |
| 213 | 'images'=>$info['text']['images'] ?? '', | 213 | 'images'=>$info['text']['images'] ?? '', |
| @@ -231,7 +231,7 @@ class TicketUploadDataLogic extends BaseLogic | @@ -231,7 +231,7 @@ class TicketUploadDataLogic extends BaseLogic | ||
| 231 | public function save5NewsData($info,$url){ | 231 | public function save5NewsData($info,$url){ |
| 232 | $response = Http::withHeaders([])->asForm()->post($url, [ | 232 | $response = Http::withHeaders([])->asForm()->post($url, [ |
| 233 | 'title' => $info['text']['title'], | 233 | 'title' => $info['text']['title'], |
| 234 | - 'cate' => $info['text']['cate_id'] ?? '', | 234 | + 'cate' => $info['text']['cate'] ?? '', |
| 235 | 'content'=>$info['text']['content'] ?? '', | 235 | 'content'=>$info['text']['content'] ?? '', |
| 236 | 'images'=>$info['text']['images'] ?? '', | 236 | 'images'=>$info['text']['images'] ?? '', |
| 237 | ]); | 237 | ]); |
-
请 注册 或 登录 后发表评论