update了UrlCheck工具类
This commit is contained in:
@@ -6,11 +6,8 @@ import com.lovenav.dao.CommentDao;
|
||||
import com.lovenav.dao.UserDao;
|
||||
import com.lovenav.entity.Comment;
|
||||
import com.lovenav.service.CommentService;
|
||||
import org.apache.ibatis.jdbc.Null;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
@@ -69,7 +66,7 @@ public class CommentServiceImpl implements CommentService {
|
||||
|
||||
// 显示评论
|
||||
public String View_comment(){
|
||||
List<Comment> list = commentDao.selectByAllComment();
|
||||
List<Comment> list = commentDao.selectAllComment();
|
||||
return JSON.toJSONString(list);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user