...
|
...
|
@@ -254,11 +254,13 @@ const getSearchData = (params) => { |
|
|
!params.shop_id && !params.brand && !params.isApp) {
|
|
|
|
|
|
for (let i = 0; i < result.data.rec_shop_list.length; i++) {
|
|
|
if (parseInt(result.data.rec_shop_list[i].show_type, 10) === 1) {
|
|
|
result.data.rec_shop_list[i].is_shop = true;
|
|
|
newList.list.splice(parseInt(result.data.rec_shop_list[i].insert_index, 10), 0,
|
|
|
newList.list.splice(parseInt(result.data.rec_shop_list[i].insert_index, 10) - 1, 0,
|
|
|
result.data.rec_shop_list[i]);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
params.page = parseInt(params.page, 10);
|
|
|
result.data.total = parseInt(result.data && result.data.total || 0, 10);
|
...
|
...
|
|