doum
9 天以前 f4f2eb7c80ab85bf0e52c1b911d5a4a82cda330d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export declare const apiName = "internal.util.graySwitch";
/**
 * 读取灰度开关 请求参数定义
 * @apiName internal.util.graySwitch
 */
export interface IInternalUtilGraySwitchParams {
    /** 模块名,默认 general */
    module: string;
    /** 开关key 必填,非空 */
    key: string;
    /** 默认值,默认为false */
    default?: boolean;
}
/**
 * 读取灰度开关 返回结果定义
 * @apiName internal.util.graySwitch
 */
export declare type IInternalUtilGraySwitchResult = boolean;
/**
 * 读取灰度开关
 * @apiName internal.util.graySwitch
 * @supportVersion ios: 4.6.10 android: 4.6.10
 */
export declare function graySwitch$(params: IInternalUtilGraySwitchParams): Promise<IInternalUtilGraySwitchResult>;
export default graySwitch$;