import { Article } from '@/client/types/article.interface' ; import { request } from '../axios.config' ; import { ListResponse } from '@/client/types/response/list.response' ; import { NumberString } from '@/client/types/NumberString.interface' ; export const visitor = { getArticle ( data ) { return request . get ( '/article/visitor/detail' , { params : data , } ) ; } , getList ( params ) { return request . get ( '/article/visitor/list' , { params : { size : 10 , ... params , } , } ) ; } , search ( title , page , size , userId ) { return request . get ( '/article/visitor/search' , { params : { page , size , title , user_id : userId , } , } ) ; } , } ;