first
This commit is contained in:
31
src/api/interface/system/bot.ts
Normal file
31
src/api/interface/system/bot.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import { ReqPage, ResultData } from "@/api/interface/index";
|
||||
export namespace BotSetting {
|
||||
// 查询接口
|
||||
export interface ReqParams extends ReqPage {
|
||||
pr_name?: string;
|
||||
}
|
||||
// 保存接口
|
||||
export interface saveParams {
|
||||
ta_id?: number; // 否 ID ,有则修改,无则新增
|
||||
ta_name: string; // 是 机器人名字
|
||||
ta_token: string; // 是 机器人TOKEN
|
||||
ta_chat_id: string; // 是 机器人群ID
|
||||
}
|
||||
// 删除接口
|
||||
export interface delParams {
|
||||
ta_id?: string;
|
||||
}
|
||||
// 列表接口响应
|
||||
export interface ResList {
|
||||
ta_id: number; // 否 ID
|
||||
ta_name: string; // 是 机器人名字
|
||||
ta_token: string; // 是 机器人TOKEN
|
||||
ta_chat_id: string; // 是 机器人群ID
|
||||
c_id: number; // 是 公司id
|
||||
created_at: string; // 是 添加时间
|
||||
updated_at: string; // 否 更新时间
|
||||
deleted_at: string; // 否 删除时间
|
||||
}
|
||||
// 保存删除响应接口
|
||||
export interface ResData extends ResultData {}
|
||||
}
|
||||
Reference in New Issue
Block a user