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,9 +1003,9 @@ function fetchComment() { @@ -1003,9 +1003,9 @@ function fetchComment() {
1003 consults: res 1003 consults: res
1004 })); 1004 }));
1005 1005
1006 - $('#consults-ul .zan-content').on('click', '.iconfont', function(){  
1007 - var $this = $(this);  
1008 - $this.addClass('getzan'); 1006 + $('#consults-ul .zan-content').on('click', '.iconfont', function() {
  1007 + var $this = $(this);
  1008 + $this.addClass('getzan');
1009 }); 1009 });
1010 1010
1011 1011