...
|
...
|
@@ -12,7 +12,7 @@ const api = global.yoho.API; |
|
|
const getHotSearch = () => {
|
|
|
return api.get('', {
|
|
|
method: 'app.helper.hotSearch',
|
|
|
showPlatform: 'yohobuy_pc'
|
|
|
showPlatform: 'blk_pc'
|
|
|
}, {
|
|
|
code: 200,
|
|
|
cache: true
|
...
|
...
|
@@ -23,7 +23,7 @@ const getHotSearch = () => { |
|
|
const gethomeCategoryFaq = () => {
|
|
|
return api.get('', {
|
|
|
method: 'app.helper.homeCategoryFaq',
|
|
|
showPlatform: 'yohobuy_pc'
|
|
|
showPlatform: 'blk_pc'
|
|
|
}, {
|
|
|
code: 200,
|
|
|
cache: true
|
...
|
...
|
@@ -34,7 +34,7 @@ const gethomeCategoryFaq = () => { |
|
|
const getSelfService = () => {
|
|
|
return api.get('', {
|
|
|
method: 'app.helper.selfService',
|
|
|
showPlatform: 'yohobuy_pc'
|
|
|
showPlatform: 'blk_pc'
|
|
|
}, {
|
|
|
code: 200
|
|
|
});
|
...
|
...
|
@@ -43,7 +43,7 @@ const getSelfService = () => { |
|
|
const helpSearch = (params) => {
|
|
|
return api.get('', {
|
|
|
method: 'app.helper.search',
|
|
|
showPlatform: 'yohobuy_pc',
|
|
|
showPlatform: 'blk_pc',
|
|
|
keyword: params.keywords,
|
|
|
page: params.page,
|
|
|
viewNum: '15',
|
...
|
...
|
@@ -56,7 +56,7 @@ const helpSearch = (params) => { |
|
|
const allQA = (page) => {
|
|
|
return api.get('', {
|
|
|
method: 'app.helper.allQA',
|
|
|
showPlatform: 'yohobuy_pc',
|
|
|
showPlatform: 'blk_pc',
|
|
|
page: page,
|
|
|
viewNum: 15
|
|
|
}, {
|
...
|
...
|
|