...
|
...
|
@@ -78,9 +78,9 @@ const formatArticle = (articleData, showTag, isApp, showAuthor, uid, reqQueryStr |
|
|
|
|
|
// 收藏
|
|
|
if (isApp) {
|
|
|
result.collect = [];
|
|
|
result.collect = {};
|
|
|
result.collect.isCollected = articleData.isFavor === true;
|
|
|
let originUrl = helpers.urlFormat('/author/index', null, 'guang') + reqQueryString; // 跳转回的链接
|
|
|
let originUrl = helpers.urlFormat('/author/index', null, 'guang'); // 跳转回的链接
|
|
|
let collectUrl = 'javascript:;'; // 根据用户是否登录做处理的链接
|
|
|
|
|
|
if (!uid) {
|
...
|
...
|
|