|
@@ -110,7 +110,7 @@ const formatArticle = (articleData, showTag, isApp, showAuthor, uid, reqQueryStr |
|
@@ -110,7 +110,7 @@ const formatArticle = (articleData, showTag, isApp, showAuthor, uid, reqQueryStr |
110
|
// 编辑人员 app跳转url处理 20160601
|
110
|
// 编辑人员 app跳转url处理 20160601
|
111
|
let isLogin = uid ? true : false;
|
111
|
let isLogin = uid ? true : false;
|
112
|
|
112
|
|
113
|
- articleData.author.url = `${helpers.https(articleData.author.url)}&openby:yohobuy={"action":"go.h5","params":{"param":{"id":"${articleData.author.author_id}"},"share":"","id":${articleData.author.author_id},"type":0,"islogin":"${isLogin} ","url":"https:${helpers.urlFormat('/author/index', {uid: uid}, 'guang')} "}}&uid=${uid}`;
|
113
|
+ articleData.author.url = `${helpers.https(articleData.author.url)}&openby:yohobuy={"action":"go.h5","params":{"param":{"id":"${articleData.author.author_id}"},"share":"","id":${articleData.author.author_id},"type":0,"islogin":"${isLogin}","url":"https:${helpers.urlFormat('/author/index', {uid: uid}, 'guang')} "}}&uid=${uid}`;
|
114
|
result.author = articleData.author;
|
114
|
result.author = articleData.author;
|
115
|
if (result.author.avatar) {
|
115
|
if (result.author.avatar) {
|
116
|
result.author.avatar = result.author.avatar.replace('http://', '//');
|
116
|
result.author.avatar = result.author.avatar.replace('http://', '//');
|