mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-06-19 07:36:59 +00:00
17 lines
318 B
TypeScript
17 lines
318 B
TypeScript
import http from '@/lib/http'
|
|
|
|
export interface INginxLogData {
|
|
type: string
|
|
conf_name: string
|
|
server_idx: number
|
|
directive_idx: number
|
|
}
|
|
|
|
const nginx_log = {
|
|
page(page = 0, data: INginxLogData | undefined = undefined) {
|
|
return http.post(`/nginx_log?page=${page}`, data)
|
|
},
|
|
}
|
|
|
|
export default nginx_log
|