Authored by Yincheng

发现好货删除测试代码

reviewed by gaijianqiu
... ... @@ -13,17 +13,15 @@ export default class DetailService {
}
async getDetailWithProductSKN(product_skn) {
// //test
// product_skn = '51148345';
// this.api = new Request('http://dev-api.yohops.com:9999');
// //
return await this.api.get({
url: '',
body: {
method: 'app.product.goodDetail',
debug: 'XYZ',
product_skn
// debug: 'XYZ',
product_skn
}
})
.then((json) => {
... ... @@ -35,17 +33,14 @@ export default class DetailService {
}
async getSimilarListWithSKN(product_skn) {
// //test
// product_skn = '51148345';
// //
return await this.api.get({
url: '',
body: {
method: 'app.search.findLike',
limit: 20,
product_skn
limit: 20,
product_skn
}
})
.then((json) => {
... ... @@ -62,7 +57,7 @@ export default class DetailService {
url: '',
body: {
method: 'app.favorite.isFavoriteNew',
id,
id,
}
})
.then((json) => {
... ...
... ... @@ -19,13 +19,13 @@ export default class ListService {
url: '',
body: {
method: 'app.search.good',
debug: 'XYZ',
uid: uid,
limit: pageSize,
page: page,
yh_channel: channel,
gender: gender,
app_type: '0'
// debug: 'XYZ',
uid: uid,
limit: pageSize,
page: page,
yh_channel: channel,
gender: gender,
app_type: '0'
}
})
.then((json) => {
... ...