Authored by zzzzzzz

更新路由

... ... @@ -30,6 +30,6 @@ router.post('/brands/addBrandSearch', brandController.addBrandSearch); // 添加
router.get('/brands/delBrandHistory', brandController.delBrandHistory); // 删除品牌搜索记录
// 5.2新楼层功能
router.post('/shopRecom', channel.shopRecom); // 店铺推荐收藏状态
router.post('/userVip', channel.userVip)
router.post('/channel/shopRecom', channel.shopRecom); // 店铺推荐收藏状态
router.post('/channel/userVip', channel.userVip)
module.exports = router;
... ...
... ... @@ -248,7 +248,7 @@ var checkShop = function() {
});
$.ajax({
type: 'POST',
url: '/shopRecom',
url: '/channel/shopRecom',
data: {
shopIds: shopIds.join(','),
},
... ... @@ -316,7 +316,7 @@ $collect.on('touchstart', function() {
// vip专属等级查询
$.ajax({
method: 'POST',
url: location.protocol + '//m.yohobuy.com' + '/userVip',
url: location.protocol + '//m.yohobuy.com' + '/channel/userVip',
data: {
channel: 1,
},
... ...