Authored by 周少峰

fav brand

... ... @@ -138,7 +138,7 @@ class ShopProcess
if ($brandNumber < 2) {
self::$brandId = self::$shopData['brand'] = $data[0]['id'];
self::$single = true;
self::$shopData['shopId']= '';
// self::$shopData['shopId']= '';
return;
}
foreach ($data as $val) {
... ...
... ... @@ -463,10 +463,10 @@ function search(opt) {
});
if (brand) {
req.data.brand = brand;
setting.brand = brand;
} else {
if (shopId) {
req.data.shop_id = shopId;
setting.shop_id = shopId;
}
}
... ...