Authored by mark

add like useful

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