Showing
1 changed file
with
1 additions
and
3 deletions
@@ -221,10 +221,8 @@ const getSpecialData = () => { | @@ -221,10 +221,8 @@ const getSpecialData = () => { | ||
221 | if (!_.isObject(item)) { | 221 | if (!_.isObject(item)) { |
222 | return; | 222 | return; |
223 | } | 223 | } |
224 | - let urlObj = url.parse(item.url || ''); | ||
225 | - let appUrl = `&openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"${ urlObj.protocol + '//' + urlObj.host + urlObj.pathname}","param":${JSON.stringify(qs.parse(urlObj.query))}}}`.replace(/\//g, '\/'); // eslint-disable-line | ||
226 | 224 | ||
227 | - item.url += appUrl; | 225 | + item.url = item.url; |
228 | return item; | 226 | return item; |
229 | }); | 227 | }); |
230 | }); | 228 | }); |
-
Please register or login to post a comment