import request from '@/utils/request' ; import { TableListQueryParams } from './data.d' ; export async function dailynewArticles ( ) { return request ( '/home/articles/dailynew' ) ; } export async function weeknewWorks ( ) { return request ( '/home/works/weeknew' ) ; } export async function monthnewTopics ( ) { return request ( '/home/topics/monthnew' ) ; } export async function annualnewLinks ( ) { return request ( '/home/links/annualnew' ) ; } export async function hotSearchQueryList ( params ? ) { return request ( '/home/searchs/keywords' , { params , } ) ; } export async function hotTagsQueryList ( params ? ) { return request ( '/home/tags' , { params , } ) ; } export async function articleHitQueryList ( params ? ) { return request ( '/home/articles' , { params , } ) ; } export async function worksHitQueryList ( params ? ) { return request ( '/home/works' , { params , } ) ; }