...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
* @Author: Targaryen
|
|
|
* @Date: 2016-05-25 18:03:34
|
|
|
* @Last Modified by: Targaryen
|
|
|
* @Last Modified time: 2016-06-06 14:49:32
|
|
|
* @Last Modified time: 2016-06-07 10:11:07
|
|
|
*/
|
|
|
|
|
|
'use strict';
|
...
|
...
|
@@ -85,13 +85,15 @@ exports.getSalebreakingYardsSortList = (params) => { |
|
|
* 获取折扣专区活动列表 promise 对象
|
|
|
* @return {[type]} [description]
|
|
|
*/
|
|
|
exports.getSaleActivityList = (params) => {
|
|
|
return api.get('', sign.apiSign(
|
|
|
Object.assign({
|
|
|
method: 'app.activity.get',
|
|
|
sort: '2',
|
|
|
plateform: '1'
|
|
|
}, params)));
|
|
|
exports.getSaleActivityList = (channel) => {
|
|
|
let tempChannel = _.isEmpty(channel) ? 'boys' : channel;
|
|
|
|
|
|
return api.get('', sign.apiSign({
|
|
|
method: 'app.activity.get',
|
|
|
sort: '2',
|
|
|
plateform: '1',
|
|
|
yh_channel: yhChannel[tempChannel].channel
|
|
|
}));
|
|
|
};
|
|
|
|
|
|
/**
|
...
|
...
|
|