|
|
@@ -8,10 +8,12 @@ export interface IDictDataRequest {
|
|
|
note: string;
|
|
|
factors: string;
|
|
|
factormean: string;
|
|
|
+ dictId?: string;
|
|
|
+ dictName?: string;
|
|
|
language: string;
|
|
|
confidence: number;
|
|
|
}
|
|
|
-export interface IApiResponseDictlData {
|
|
|
+export interface IApiResponseDictData {
|
|
|
id: number;
|
|
|
word: string;
|
|
|
type: string;
|
|
|
@@ -22,6 +24,8 @@ export interface IApiResponseDictlData {
|
|
|
factors: string;
|
|
|
factormean: string;
|
|
|
language: string;
|
|
|
+ dict_id: string;
|
|
|
+ dict_name?: string;
|
|
|
confidence: number;
|
|
|
creator_id: number;
|
|
|
updated_at: string;
|
|
|
@@ -29,13 +33,13 @@ export interface IApiResponseDictlData {
|
|
|
export interface IApiResponseDict {
|
|
|
ok: boolean;
|
|
|
message: string;
|
|
|
- data: IApiResponseDictlData;
|
|
|
+ data: IApiResponseDictData;
|
|
|
}
|
|
|
export interface IApiResponseDictList {
|
|
|
ok: boolean;
|
|
|
message: string;
|
|
|
data: {
|
|
|
- rows: IApiResponseDictlData[];
|
|
|
+ rows: IApiResponseDictData[];
|
|
|
count: number;
|
|
|
};
|
|
|
}
|