...
|
...
|
@@ -116,10 +116,11 @@ class ListData |
|
|
* @author sefon 2016-4-27 21:39:51
|
|
|
* @return array
|
|
|
*/
|
|
|
public static function getShopCategory($shopId, $cache = 600)
|
|
|
public static function getShopCategory($shopId, $channel, $cache = 600)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
$param['method'] = 'app.shop.getSortInfo';
|
|
|
$param['yh_channel'] = $channel;
|
|
|
$param['shop_id'] = $shopId;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
...
|
...
|
|