import request from '@/utils/request' ; import { Comment } from '@root/src/models/comment' ; export const getBlogCommentsPage = ( params ? ) => { return request . get < ResponseList < Comment > > ( '/blogComments' , params ) ; } ; export const addBlogComment = ( params ? ) => { return request . post < ResponseData > ( '/blogComment' , params ) ; } ; export const replyBlogComment = ( params ? ) => { return request . put < ResponseData > ( '/blogComment/reply' , params ) ; } ;