...
|
...
|
@@ -149,7 +149,7 @@ const getHomeActivity = (id) => { |
|
|
platform: 2,
|
|
|
size: 0,
|
|
|
yh_channel: 1,
|
|
|
type: id,
|
|
|
type: 0,
|
|
|
sort: 2,
|
|
|
client_type: 'h5'
|
|
|
};
|
...
|
...
|
@@ -187,19 +187,25 @@ exports.getActivity = (id) => { |
|
|
};
|
|
|
|
|
|
exports.willBeEnd = () => {
|
|
|
return getHomeActivity(3).then(res => {
|
|
|
var data = {};
|
|
|
return getHomeActivity().then(res => {
|
|
|
var data = {
|
|
|
activity: {
|
|
|
data: res
|
|
|
}
|
|
|
};
|
|
|
|
|
|
data.activity = res;
|
|
|
return data;
|
|
|
});
|
|
|
};
|
|
|
|
|
|
exports.willBeCome = () => {
|
|
|
return getHomeActivity(4).then(res => {
|
|
|
var data = {};
|
|
|
return getHomeActivity().then(res => {
|
|
|
var data = {
|
|
|
activity: {
|
|
|
data: res
|
|
|
}
|
|
|
};
|
|
|
|
|
|
data.activity = res;
|
|
|
return res;
|
|
|
return data;
|
|
|
});
|
|
|
}; |
...
|
...
|
|