Authored by zhangxiaoru

plusstar

@@ -125,7 +125,7 @@ const favoriteBrand = (req, res, next) => { @@ -125,7 +125,7 @@ const favoriteBrand = (req, res, next) => {
125 } 125 }
126 res.json({ 126 res.json({
127 code: 200, 127 code: 200,
128 - message: '收藏成功', 128 + message: data.message,
129 data: '' 129 data: ''
130 }); 130 });
131 }).catch(next); 131 }).catch(next);
@@ -98,7 +98,7 @@ const getDetailData = (req, res, next) => { @@ -98,7 +98,7 @@ const getDetailData = (req, res, next) => {
98 res.render('plustar/detail', { 98 res.render('plustar/detail', {
99 module: 'guang', 99 module: 'guang',
100 page: 'plustar-detail', 100 page: 'plustar-detail',
101 - title: result.brandName, 101 + title: result.brand_name,
102 pageHeader: headerModel.setNav({ 102 pageHeader: headerModel.setNav({
103 navTitle: result.brand_name 103 navTitle: result.brand_name
104 }), 104 }),
@@ -108,7 +108,7 @@ const getDetailData = (req, res, next) => { @@ -108,7 +108,7 @@ const getDetailData = (req, res, next) => {
108 res.render('plustar/detail', { 108 res.render('plustar/detail', {
109 module: 'guang', 109 module: 'guang',
110 page: 'plustar-detail', 110 page: 'plustar-detail',
111 - title: result.brandName, 111 + title: result.brand_name,
112 ps: result, 112 ps: result,
113 uid: uid, 113 uid: uid,
114 isApp: isApp ? true : false 114 isApp: isApp ? true : false