Commit 9f0f3652 authored by 谈海涛's avatar 谈海涛

添加标签分类

parent 156fbdda
...@@ -32,4 +32,18 @@ class Label extends Client ...@@ -32,4 +32,18 @@ class Label extends Client
return self::call('label.getLabels', compact('type')); return self::call('label.getLabels', compact('type'));
} }
/**
* 标签分类
* @param array $labels 标签
* @param array $types //类型 1=>认证 2=>品类 3=>品牌 4=>热门事件 5=>现象 6=>故障点 7=>专题
*
* @return array
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function getListByLabels($labels, $types = [2, 3, 5, 6])
{
return self::call('label.getListByLabels', compact('labels','types'));
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment