门禁授权操作优化
This commit is contained in:
@@ -39,7 +39,7 @@ export function authRecordInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function authRecordAdd(data: AuthRecordForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/authRecord', data);
|
||||
return requestClient.postWithMsg<void>('/sis/authRecord/add', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
14
apps/web-antd/src/api/sis/authRecord/model.d.ts
vendored
14
apps/web-antd/src/api/sis/authRecord/model.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
import type { BaseEntity, PageQuery } from '#/api/common';
|
||||
|
||||
export interface AuthRecordVO {
|
||||
/**
|
||||
@@ -15,25 +15,25 @@ export interface AuthRecordVO {
|
||||
* 门禁id
|
||||
*/
|
||||
acdId: string | number;
|
||||
|
||||
}
|
||||
|
||||
export interface AuthRecordForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id?: string | number;
|
||||
libId?: string | number;
|
||||
|
||||
/**
|
||||
* 人像id
|
||||
*/
|
||||
imgId?: string | number;
|
||||
imgIds?: string[] | number[];
|
||||
|
||||
/**
|
||||
* 门禁id
|
||||
*/
|
||||
acdId?: string | number;
|
||||
acIds?: string[] | number[];
|
||||
|
||||
issue: boolean;
|
||||
}
|
||||
|
||||
export interface AuthRecordQuery extends PageQuery {
|
||||
@@ -48,7 +48,7 @@ export interface AuthRecordQuery extends PageQuery {
|
||||
acdId?: string | number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
Reference in New Issue
Block a user