42 lines
1.4 KiB
TypeScript
42 lines
1.4 KiB
TypeScript
import { ReqPage, ResultData } from "@/api/interface/index";
|
||
export namespace Company {
|
||
// 查询接口
|
||
export interface ReqParams extends ReqPage {
|
||
key?: string;
|
||
}
|
||
// 保存接口
|
||
export interface saveParams {
|
||
c_id?: number;
|
||
c_superpower: number;
|
||
c_code: string;
|
||
c_name: string;
|
||
c_sign_key: string;
|
||
c_notify_url: string;
|
||
c_withdrawal_rate?: number; //int 是 提现费率
|
||
c_min_withdrawal_amount?: number; //int 是 起提金额
|
||
c_free_withdrawal_amount?: number; //int 是 免手续费提现金额
|
||
}
|
||
// 删除接口
|
||
export interface delParams {
|
||
c_id?: string;
|
||
}
|
||
// 列表接口响应
|
||
export interface ResList {
|
||
c_id: number; // Y id
|
||
c_superpower: number; // Y 是否拥有所有数据权限:0=否,1=是
|
||
c_code: string; // Y 公司编码
|
||
c_name: string; // Y 公司名称
|
||
c_init_user: string; // Y 创建时间
|
||
c_init_pwd: string; // Y 更新时间
|
||
created_at: string; // Y
|
||
updated_at: string; // Y
|
||
c_sign_key?: string; // Y
|
||
c_notify_url?: string; // Y
|
||
c_withdrawal_rate?: number; //int 是 提现费率
|
||
c_min_withdrawal_amount?: number; //int 是 起提金额
|
||
c_free_withdrawal_amount?: number; //int 是 免手续费提现金额
|
||
}
|
||
// 保存删除响应接口
|
||
export interface ResData extends ResultData {}
|
||
}
|