fix:添加审计和全局
This commit is contained in:
@@ -3,13 +3,13 @@ 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}`)
|
||||
return http2.get(`/v1/admin/audit/list?page=${data.page}&server_id=${data.server_id}&user_id=${data.user_id}&count=${data.count}&key=${data.key}`)
|
||||
}
|
||||
/**手动触发站点审计 */
|
||||
export const auditSite = () => {
|
||||
return http2.get(`/v1/admin/audit/start`)
|
||||
}
|
||||
/**删除违规网页审计 */
|
||||
/**删除违规网页审计 传入参数: web_key 站点名*/
|
||||
export const delAudit = (data) => {
|
||||
return http2.post(`/v1/admin/audit/delete`,data,{
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user