Authored by lijing

收藏记录优化

... ... @@ -157,7 +157,7 @@ const myDetails = (params) => {
* @param params
*/
const recordContent = (uid, udid, page, limit) => {
if (uid) {
return api.get('', {
method: 'app.browse.product',
uid: uid,
... ... @@ -206,6 +206,7 @@ const recordContent = (uid, udid, page, limit) => {
return resu;
}
});
}
};
/**
... ...
... ... @@ -56,7 +56,7 @@ router.get('/mycurrency', currencyController.myCurrency); // yoho币总数
router.get('/currencyDetail', currencyController.currencyDetail); // yoho币列表
router.post('/ajaxCurrencyDetail', currencyController.ajaxCurrencyDetail); // yoho币列表
router.get('/record', homeController.record); // 浏览记录
router.get('/record', auth, homeController.record); // 浏览记录
router.get('/recordContent', homeController.recordContent); // 浏览记录
router.get('/delRecord', homeController.delRecord); // 删除浏览记录
... ...