This commit is contained in:
2025-07-15 18:02:29 +08:00
parent 2038ddc617
commit d636050aac
65 changed files with 17885 additions and 103 deletions
+23
View File
@@ -0,0 +1,23 @@
import {http2} from "@/utils/request.js";
/**获取所有站点 */
export const getSiteList = (data) => {
return http2.get(`/v1/admin/audit/list?page=${data.page}&count=${data.count}&key=${data.key}`)
}
/**手动触发站点审计 */
export const auditSite = () => {
return http2.get(`/v1/admin/audit/start`)
}
/**删除违规网页审计 */
export const delAudit = (data) => {
return http2.post(`/v1/admin/audit/delete`,data,{
headers: {
'Content-Type': 'multipart/form-data'
}
})
}
/**获取违规网页审计列表 */
export const getAuditList = (data) => {
return http2.get(`/v1/admin/audit/violation_list?page=${data.page}&count=${data.count}&key=${data.key}`)
}