Browse Source

标签优化

wufeng 2 years ago
parent
commit
54412fe1a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/youzan/logic/Goodup.php

+ 1 - 1
app/youzan/logic/Goodup.php

@@ -203,7 +203,7 @@ class Goodup
                 'sell_point' => '',//商品卖点信息
                 'yz_cat_id' => $data['yz_cat_id'],//有赞类目id
                 'start_sale_num' => $data['start_sale_num'],//商品起售数,默认为1
-                'tags' => $data['tags'],//标签id,多个以,分割
+                'tags' => implode(',',$data['tags']),//标签id,多个以,分割
             ];
             $host = config('app.yz_domain');
             $response = curl_request($host . 'api/yz_goodup', $curl_data);