...
|
...
|
@@ -24,6 +24,11 @@ let _getProduct = function(o) { |
|
|
};
|
|
|
};
|
|
|
|
|
|
const gender = {
|
|
|
1: '1,3',
|
|
|
2: '2,3'
|
|
|
};
|
|
|
|
|
|
module.exports = {
|
|
|
productLst: function(params) {
|
|
|
return api.get('', Object.assign({
|
...
|
...
|
@@ -48,7 +53,8 @@ module.exports = { |
|
|
yh_channel: params.yh_channel,
|
|
|
limit: params.limit,
|
|
|
need_filter: 'null',
|
|
|
rec_pos: '100008'
|
|
|
rec_pos: '100008',
|
|
|
gender: params.gender || gender[params.yh_channel]
|
|
|
}, {
|
|
|
cache: true
|
|
|
}).then(res => {
|
...
|
...
|
|