cool-admin-midway/packages/sms/src/interface.ts

81 lines
1.2 KiB
TypeScript
Raw Normal View History

2023-05-26 19:27:08 +08:00
export interface CoolSmsConfig {
/**
*
*/
ali: CoolSmsAliConfig;
/**
*
*/
tx: CoolTxConfig;
/**
*
*/
yp: CoolYpConfig;
}
/**
*
*/
export interface CoolSmsAliConfig {
/**
* accessKeyId
*/
accessKeyId: string;
/**
* accessKeySecret
*/
accessKeySecret: string;
/**
*
*/
signName?: string;
/**
*
*/
template?: string;
}
/**
*
*/
export interface CoolTxConfig {
/**
* ID
*/
appId: string;
/**
* secretId
*/
secretId: string;
/**
* secretKey
*/
secretKey: string;
/**
*
*/
signName?: string;
/**
*
*/
template?: string;
}
/**
*
*/
export interface CoolYpConfig {
/**
* apikey
*/
apikey: string;
/**
*
*/
signName?: string;
/**
*
*/
template?: string;
}