...
|
...
|
@@ -14,15 +14,15 @@ const helpers = require(`${library}/helpers`); |
|
|
|
|
|
const headTab = [
|
|
|
{
|
|
|
url: '/guang/star?openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"http:\/\/guang.m.yohobuy.com\/guang\/star","param":{}}}', // eslint-disable-line
|
|
|
url: '/guang/star?openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"http:\/\/m.yohobuy.com\/guang\/star","param":{}}}', // eslint-disable-line
|
|
|
name: '全部'
|
|
|
},
|
|
|
{
|
|
|
url: '/guang/star/special?openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"http:\/\/guang.m.yohobuy.com\/guang\/star\/special","param":{}}}', // eslint-disable-line
|
|
|
url: '/guang/star/special?openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"http:\/\/m.yohobuy.com\/guang\/star\/special","param":{}}}', // eslint-disable-line
|
|
|
name: '星专题'
|
|
|
},
|
|
|
{
|
|
|
url: '/guang/star/collocation?openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"http:\/\/guang.m.yohobuy.com\/guang\/star\/collocation","param":{}}}', // eslint-disable-line
|
|
|
url: '/guang/star/collocation?openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"http:\/\/m.yohobuy.com\/guang\/star\/collocation","param":{}}}', // eslint-disable-line
|
|
|
name: '星搭配'
|
|
|
}
|
|
|
];
|
...
|
...
|
@@ -154,7 +154,7 @@ exports.setFavorite = (req, res, next) => { |
|
|
});
|
|
|
} else {
|
|
|
urlEncode = '\/guang\/star\/collocation';
|
|
|
result.data = `${url}?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"http:\/\/guang.m.yohobuy.com${urlEncode}","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}`; // eslint-disable-line
|
|
|
result.data = `${url}?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"http:\/\/m.yohobuy.com${urlEncode}","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}`; // eslint-disable-line
|
|
|
}
|
|
|
}
|
|
|
res.json(result);
|
...
|
...
|
|