Authored by 沈志敏

删除client_type

... ... @@ -102,13 +102,9 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => {
getOtherArticle: {}
};
// 客户端类型
let clientType = isApp ? 'iphone' : 'h5';
// 获取资讯
let param = {
article_id: id,
client_type: clientType
article_id: id
// private_key: sign.privateKey[clientType]
};
... ... @@ -139,8 +135,7 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => {
// 获取资讯内容
param = {
article_id: id,
client_type: clientType
article_id: id
// private_key: sign.privateKey[clientType]
};
... ... @@ -152,8 +147,7 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => {
// 获取资讯相关的品牌
param = {
article_id: id,
client_type: clientType
article_id: id
// private_key: sign.privateKey[clientType]
};
... ... @@ -167,7 +161,6 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => {
if (typeof article.tag !== 'undefined') {
param = {
article_id: id,
client_type: clientType,
tags: article.tag,
offset: 0,
limit: 3
... ...