Authored by mark

add like useful

@@ -191,7 +191,7 @@ const indexConsult = (req, res, next) => { @@ -191,7 +191,7 @@ const indexConsult = (req, res, next) => {
191 let size = req.query.size || 10; 191 let size = req.query.size || 10;
192 192
193 return service.indexConsultAsync(uid, pid, page, size).then(result => { 193 return service.indexConsultAsync(uid, pid, page, size).then(result => {
194 - console.log("result================="); 194 + console.log('result=================');
195 console.log(result); 195 console.log(result);
196 return res.json({ 196 return res.json({
197 code: 200, 197 code: 200,
@@ -1003,7 +1003,7 @@ function fetchComment() { @@ -1003,7 +1003,7 @@ function fetchComment() {
1003 consults: res 1003 consults: res
1004 })); 1004 }));
1005 1005
1006 - $('#consults-ul .zan-content').on('click', '.iconfont', function(){ 1006 + $('#consults-ul .zan-content').on('click', '.iconfont', function() {
1007 var $this = $(this); 1007 var $this = $(this);
1008 $this.addClass('getzan'); 1008 $this.addClass('getzan');
1009 }); 1009 });