Showing
1 changed file
with
3 additions
and
10 deletions
@@ -102,13 +102,9 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { | @@ -102,13 +102,9 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { | ||
102 | getOtherArticle: {} | 102 | getOtherArticle: {} |
103 | }; | 103 | }; |
104 | 104 | ||
105 | - // 客户端类型 | ||
106 | - let clientType = isApp ? 'iphone' : 'h5'; | ||
107 | - | ||
108 | // 获取资讯 | 105 | // 获取资讯 |
109 | let param = { | 106 | let param = { |
110 | - article_id: id, | ||
111 | - client_type: clientType | 107 | + article_id: id |
112 | 108 | ||
113 | // private_key: sign.privateKey[clientType] | 109 | // private_key: sign.privateKey[clientType] |
114 | }; | 110 | }; |
@@ -139,8 +135,7 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { | @@ -139,8 +135,7 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { | ||
139 | 135 | ||
140 | // 获取资讯内容 | 136 | // 获取资讯内容 |
141 | param = { | 137 | param = { |
142 | - article_id: id, | ||
143 | - client_type: clientType | 138 | + article_id: id |
144 | 139 | ||
145 | // private_key: sign.privateKey[clientType] | 140 | // private_key: sign.privateKey[clientType] |
146 | }; | 141 | }; |
@@ -152,8 +147,7 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { | @@ -152,8 +147,7 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { | ||
152 | 147 | ||
153 | // 获取资讯相关的品牌 | 148 | // 获取资讯相关的品牌 |
154 | param = { | 149 | param = { |
155 | - article_id: id, | ||
156 | - client_type: clientType | 150 | + article_id: id |
157 | 151 | ||
158 | // private_key: sign.privateKey[clientType] | 152 | // private_key: sign.privateKey[clientType] |
159 | }; | 153 | }; |
@@ -167,7 +161,6 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { | @@ -167,7 +161,6 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { | ||
167 | if (typeof article.tag !== 'undefined') { | 161 | if (typeof article.tag !== 'undefined') { |
168 | param = { | 162 | param = { |
169 | article_id: id, | 163 | article_id: id, |
170 | - client_type: clientType, | ||
171 | tags: article.tag, | 164 | tags: article.tag, |
172 | offset: 0, | 165 | offset: 0, |
173 | limit: 3 | 166 | limit: 3 |
-
Please register or login to post a comment