import { request } from '../axios.config' ; import { Comment } from '@/client/types/comment.interface' ; import { ListResponse } from '@/client/types/response/list.response' ; export const visitor = { getComment ( data ) { return request . get ( '/message/visitor/info' , { params : data , } ) ; } , getList ( page , size = 10 , commentId ) { return request . get ( '/message/visitor/list' , { params : { page , size , comment_id : commentId , } , } ) ; } } ;