|
...
|
...
|
@@ -207,7 +207,7 @@ class TicketUploadDataLogic extends BaseLogic |
|
|
|
public function save5ProductData($info,$url){
|
|
|
|
$response = Http::withHeaders([])->asForm()->post($url, [
|
|
|
|
'title' => $info['text']['title'],
|
|
|
|
'cate_id' => $info['text']['cate_id'] ?? '',
|
|
|
|
'cate_id' => implode(',',$info['text']['cate']) ?? '',
|
|
|
|
'content'=>$info['text']['content'] ?? '',
|
|
|
|
'short_description'=>$info['text']['short_description'] ?? '',
|
|
|
|
'images'=>$info['text']['images'] ?? '',
|
|
...
|
...
|
@@ -231,7 +231,7 @@ class TicketUploadDataLogic extends BaseLogic |
|
|
|
public function save5NewsData($info,$url){
|
|
|
|
$response = Http::withHeaders([])->asForm()->post($url, [
|
|
|
|
'title' => $info['text']['title'],
|
|
|
|
'cate' => $info['text']['cate_id'] ?? '',
|
|
|
|
'cate' => $info['text']['cate'] ?? '',
|
|
|
|
'content'=>$info['text']['content'] ?? '',
|
|
|
|
'images'=>$info['text']['images'] ?? '',
|
|
|
|
]);
|
...
|
...
|
|