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.
16 lines
472 B
16 lines
472 B
import { ApiServiceEnum, defHttp } from '@/utils/http/axios';
|
|
|
|
enum Api {
|
|
listBySystem = 'db/code/main/listBySystem',
|
|
delete = 'db/code/main/batchDeleteById',
|
|
}
|
|
|
|
export const listBySystemApi = (parameter) =>
|
|
defHttp.post({ service: ApiServiceEnum.SMART_CODE, url: Api.listBySystem, data: parameter });
|
|
|
|
export const deleteApi = (data) =>
|
|
defHttp.post({
|
|
service: ApiServiceEnum.SMART_CODE,
|
|
url: Api.delete,
|
|
data: data.map((item: any) => item.id),
|
|
});
|
|
|