...
|
...
|
@@ -61,7 +61,7 @@ const currencyDetail = (uid, page, limit) => { |
|
|
let total = parseInt(result.data.page_total, 10) + 1;
|
|
|
|
|
|
if (page && page < total) {
|
|
|
return myCurrency(uid).then(list => {
|
|
|
return yohoCoin(uid).then(list => {
|
|
|
|
|
|
if (list.yohocoinNum && list.yohocoinNum === 0) {
|
|
|
result.data = _.assign(result.data, {
|
...
|
...
|
@@ -86,24 +86,24 @@ const currencyDetail = (uid, page, limit) => { |
|
|
});
|
|
|
};
|
|
|
|
|
|
const mayLike = (uid, page, limit, udid, gender, recPos, channel) => {
|
|
|
return api.get('', {
|
|
|
method: 'app.search.newLast7day',
|
|
|
uid: uid,
|
|
|
page: page,
|
|
|
limit: limit,
|
|
|
udid: udid,
|
|
|
rec_pos: recPos,
|
|
|
yh_channel: channel
|
|
|
}).then((result) => {
|
|
|
console.log(result);
|
|
|
});
|
|
|
};
|
|
|
// const mayLike = (uid, page, limit, udid, gender, recPos, channel) => {
|
|
|
// return api.get('', {
|
|
|
// method: 'app.search.newLast7day',
|
|
|
// uid: uid,
|
|
|
// page: page,
|
|
|
// limit: limit,
|
|
|
// udid: udid,
|
|
|
// rec_pos: recPos,
|
|
|
// yh_channel: channel
|
|
|
// }).then((result) => {
|
|
|
// console.log(result);
|
|
|
// });
|
|
|
// };
|
|
|
|
|
|
module.exports = {
|
|
|
myCurrency,
|
|
|
currencyDetail,
|
|
|
bannerData,
|
|
|
yohoCoin,
|
|
|
mayLike
|
|
|
yohoCoin
|
|
|
// mayLike
|
|
|
}; |
...
|
...
|
|