minif_node
Version:
各类平台的对接的一个sdk
42 lines (41 loc) • 788 B
TypeScript
/**
* 统一返回格式
*/
export interface Output {
status: number;
error?: any;
data?: any;
}
export interface request_herder {
access_token?: string;
"access-token"?: string;
code?: string;
}
export interface reqtoken {
tokenvalue: string;
time: string;
}
export interface redis_inter_option {
host: string;
port: number;
password?: string;
db: number;
}
/**
* 公共的小程序参数信息
*/
export interface pubmini {
appid: string;
appSecret: string;
redis_options?: redis_inter_option;
}
/**
* 公共的小程序参数信息
*/
export interface intemyauthentication {
appid: string;
redis_options?: redis_inter_option;
}
/**
* 微信的传参初始化信息
*/