xverse-components-utils
Version:
xverse components utils
20 lines (19 loc) • 540 B
TypeScript
/**
* 获取小程序二维码
* @date 2023-01-13
* @param IGetWeAppQRCode
* @returns {IGetWeAppQRCodeResponse}
*/
export interface IGetWeAppQRCode {
scene: string;
width?: number;
wxAppID?: string;
}
export interface IGetWeAppQRCodeResponse {
code: number;
msg: string;
contentType: string;
buffer: string;
}
export declare const getWxAppQRCode: (data: IGetWeAppQRCode) => Promise<IGetWeAppQRCodeResponse>;
export declare const getQRCodeFuc: (url: string, params: string, wxId: string) => Promise<string>;