智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/d9/d9663a791271989147fb15fae37...

38 lines
712 B

/**
* @file 客户端获取会员信息
*/
declare namespace my {
interface IGetAuthUserInfoSuccessResult {
/**
* 用户昵称
*/
readonly nickName: string;
/**
* 用户头像链接
*/
readonly avatar: string;
}
interface IGetAuthUserInfoOptions {
/**
* 调用成功的回调函数
*/
success?(result: IGetAuthUserInfoSuccessResult): void;
/**
* 调用失败的回调函数
*/
fail?(): void;
/**
* 调用结束的回调函数(调用成功、失败都会执行)
*/
complete?(): void;
}
/**
* 客户端获取会员信息。
*/
function getAuthUserInfo(options: IGetAuthUserInfoOptions): void;
}