diff --git a/buyer/src/api/shopentry.js b/buyer/src/api/shopentry.js index 18aefdc90..015ad40d1 100644 --- a/buyer/src/api/shopentry.js +++ b/buyer/src/api/shopentry.js @@ -6,7 +6,8 @@ import request, { export function shopList (params) { return request({ url: '/buyer/store/store', - needToken: true, + needToken: false, + optionalToken: true, method: Method.GET, params }) @@ -52,6 +53,16 @@ export function getStoreById (id) { } // 店铺详情 +// 获取店铺工商/营业执照信息 +export function getLicencePhoto (id) { + return request({ + url: `/buyer/store/store/get/licencePhoto/${id}`, + needToken: false, + optionalToken: true, + method: Method.GET + }) +} + export function getDetailById (id) { return request({ url: `/buyer/store/store/get/detail/${id}`, diff --git a/buyer/src/components/Search.vue b/buyer/src/components/Search.vue index 38ad65737..5975c9983 100644 --- a/buyer/src/components/Search.vue +++ b/buyer/src/components/Search.vue @@ -6,7 +6,7 @@ v-model="searchData" size="large" class="search-input" - placeholder="输入你想查找的商品" + :placeholder="placeholderText" @focus="openPanel" @input="queueSuggest" @keyup.enter="search" @@ -37,12 +37,22 @@ @click="$router.push('/')" />