这是基于vue-vben-admin 模板适用于abp vNext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
914 B

import { defAbpHttp } from '/@/utils/http/abp';
import { SecurityLog, GetSecurityLogPagedRequest } from './model/securityLogModel';
enum Api {
RemoteService = 'AbpAuditing',
Controller = 'SecurityLog',
}
export const deleteById = (id: string) => {
return defAbpHttp.pagedRequest<SecurityLog>({
service: Api.RemoteService,
controller: Api.Controller,
action: 'DeleteAsync',
params: {
id: id,
},
});
};
export const getById = (id: string) => {
return defAbpHttp.pagedRequest<SecurityLog>({
service: Api.RemoteService,
controller: Api.Controller,
action: 'GetAsync',
params: {
id: id,
},
});
};
export const getList = (input: GetSecurityLogPagedRequest) => {
return defAbpHttp.pagedRequest<SecurityLog>({
service: Api.RemoteService,
controller: Api.Controller,
action: 'GetListAsync',
params: {
input: input,
},
});
};