mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2025-05-19 18:10:15 +09:00
23 lines
448 B
JavaScript
23 lines
448 B
JavaScript
/**
|
|
* 博客统计信息
|
|
* @see https://api.halo.run/content-api.html#tag/statistic-controller
|
|
*/
|
|
|
|
import HttpHandler from '@/common/http/request.js'
|
|
|
|
export default {
|
|
/**
|
|
* 获取博客统计信息
|
|
*/
|
|
getBlogStatistics: () => {
|
|
return HttpHandler.Get(`/api/content/statistics`)
|
|
},
|
|
|
|
/**
|
|
* 获取博客统计信息和用户信息
|
|
*/
|
|
getBlogStatisticsWithUser: () => {
|
|
return HttpHandler.Get(`/api/content/statistics/user`)
|
|
},
|
|
}
|