recom.js 568 Bytes
'use strict';

const serviceAPI = global.yoho.ServiceAPI;
const api = global.yoho.API;
const _ = require('lodash');
const camelCase = global.yoho.camelCase;
const logger = global.yoho.logger;

const mayLike = (uid, page, limit, gender, udid, 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 = {
    mayLike
};