rapplus
Version:
rapper, use http api as a function
65 lines (64 loc) • 1.27 kB
TypeScript
/**
* 接口名:获取商户列表
* Rap 地址: http://rap2.taobao.org/repository/editor?id=284428&mod=474869&itf=2066499
*/
export declare type IReqGoodsQbf = {
age: string;
sex?: string;
/**
* 新加的 c
*/
goods?: {
arr: {
count: string;
name: string;
};
};
goods2: {
count: string;
name: string;
};
};
export declare type IResGoodsQbf = {
/**
*
* @value true
*/
success: boolean;
data: {
/**
* 数组演示
* @rule 5
*/
array: {
/**
* n名称
* @value #cname
*/
name: string;
/**
* 年纪
* @value /@increment(10)
*/
age: string;
/**
* 心别
* @value /@increment(10)
*/
sex: number;
}[];
};
/**
*
* @value 0
*/
code: number;
};
/**
* 接口名:2接口
* Rap 地址: http://rap2.taobao.org/repository/editor?id=284428&mod=474869&itf=2066668
*/
export declare type IReqGoodsAudit = Record<string, unknown>;
export declare type IResGoodsAudit = {
cb: string;
};