update了UrlCheck工具类

This commit is contained in:
sjm
2023-12-23 15:34:05 +08:00
parent 32ec34633c
commit 1b4bf28371
11 changed files with 100 additions and 25 deletions

View File

@@ -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);
}