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.
21 lines
653 B
21 lines
653 B
import { defHttp } from '/@/utils/http/axios';
|
|
import { OpenIddictAuthorizationDto, OpenIddictAuthorizationGetListInput, } from './model';
|
|
|
|
export const deleteById = (id: string) => {
|
|
return defHttp.delete<void>({
|
|
url: `/api/openiddict/authorizations/${id}`,
|
|
});
|
|
};
|
|
|
|
export const get = (id: string) => {
|
|
return defHttp.get<OpenIddictAuthorizationDto>({
|
|
url: `/api/openiddict/authorizations/${id}`,
|
|
});
|
|
};
|
|
|
|
export const getList = (input: OpenIddictAuthorizationGetListInput) => {
|
|
return defHttp.get<PagedResultDto<OpenIddictAuthorizationDto>>({
|
|
url: '/api/openiddict/authorizations',
|
|
params: input,
|
|
});
|
|
};
|