first
This commit is contained in:
30
src/api/interface/novel/chapter.ts
Normal file
30
src/api/interface/novel/chapter.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
import { ReqPage, ResultData } from "@/api/interface/index";
|
||||
export namespace ChapterList {
|
||||
// 查询接口
|
||||
export interface ReqParams extends ReqPage {
|
||||
key?: string;
|
||||
}
|
||||
// 保存接口
|
||||
export interface saveParams {
|
||||
xszj_id?: number;
|
||||
xsxq_id: any;
|
||||
xszj_nei_rong: any;
|
||||
xszj_ming_zi: any;
|
||||
xszj_pai_xu: any;
|
||||
}
|
||||
// 删除接口
|
||||
export interface delParams {
|
||||
xszj_id?: string;
|
||||
}
|
||||
// 列表接口响应
|
||||
export interface ResList {
|
||||
xszj_id?: number;
|
||||
xsxq_id: any;
|
||||
xszj_nei_rong: any;
|
||||
xszj_ming_zi: any;
|
||||
xszj_pai_xu: any;
|
||||
created_at: string;
|
||||
}
|
||||
// 保存删除响应接口
|
||||
export interface ResData extends ResultData {}
|
||||
}
|
||||
26
src/api/interface/novel/fenlei.ts
Normal file
26
src/api/interface/novel/fenlei.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { ReqPage, ResultData } from "@/api/interface/index";
|
||||
export namespace fenLeiList {
|
||||
// 查询接口
|
||||
export interface ReqParams extends ReqPage {
|
||||
key?: string;
|
||||
}
|
||||
// 保存接口
|
||||
export interface saveParams {
|
||||
xsfl_id?: number;
|
||||
xsfl_name: string;
|
||||
xsfl_source_code: string;
|
||||
}
|
||||
// 删除接口
|
||||
export interface delParams {
|
||||
xsfl_id?: string;
|
||||
}
|
||||
// 列表接口响应
|
||||
export interface ResList {
|
||||
xsfl_id: any;
|
||||
xsfl_name: any;
|
||||
items: any;
|
||||
xsfl_source_code: string;
|
||||
}
|
||||
// 保存删除响应接口
|
||||
export interface ResData extends ResultData {}
|
||||
}
|
||||
35
src/api/interface/novel/list.ts
Normal file
35
src/api/interface/novel/list.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { ReqPage, ResultData } from "@/api/interface/index";
|
||||
export namespace NovelList {
|
||||
// 查询接口
|
||||
export interface ReqParams extends ReqPage {
|
||||
key?: string;
|
||||
t_type?: number;
|
||||
}
|
||||
// 保存接口
|
||||
export interface saveParams {
|
||||
n_id?: number;
|
||||
n_name: string;
|
||||
n_author: string;
|
||||
n_cover: any;
|
||||
n_tags: any;
|
||||
n_source_id: any;
|
||||
n_at_status: any;
|
||||
n_slide_status: any;
|
||||
n_type: any;
|
||||
n_last_update: string;
|
||||
}
|
||||
// 删除接口
|
||||
export interface delParams {
|
||||
n_id?: string;
|
||||
}
|
||||
// 列表接口响应
|
||||
export interface ResList {
|
||||
xsxq_tag: any;
|
||||
xsxq_id: any;
|
||||
items: any;
|
||||
https_cover_url: any;
|
||||
created_at: string;
|
||||
}
|
||||
// 保存删除响应接口
|
||||
export interface ResData extends ResultData {}
|
||||
}
|
||||
Reference in New Issue
Block a user