...
|
...
|
@@ -238,7 +238,7 @@ const getBrandListByChannel = (channel) => { |
|
|
|
|
|
const getBrandForSearch = (channel) => {
|
|
|
return api.get('', {
|
|
|
method: 'app.brand.brandlist',
|
|
|
method: 'app.brand.allBrandList',
|
|
|
yh_channel: channel || 1
|
|
|
|
|
|
}, {
|
...
|
...
|
@@ -434,7 +434,7 @@ const branchSearch = (params) => { |
|
|
|
|
|
if (result && result[0] && result[0].data) {
|
|
|
|
|
|
let brandList = result[0].data.brands;
|
|
|
let brandList = result[0].data.all_list;
|
|
|
|
|
|
let obj = {};
|
|
|
|
...
|
...
|
@@ -447,7 +447,7 @@ const branchSearch = (params) => { |
|
|
name: row.brand_name,
|
|
|
isHot: row.is_hot === 'Y' ? true : false,
|
|
|
isNew: row.is_show_new === 'Y' ? true : false,
|
|
|
url: helpers.urlFormat('/product/index/brand?domain=' + row.brand_domain),
|
|
|
url: _urlJump(parseInt(row.type, 10), row),
|
|
|
brandId: row.id,
|
|
|
brandDomain: row.brand_domain,
|
|
|
searchName: row.brand_name_en + row.brand_name_cn
|
...
|
...
|
|