mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2026-03-28 08:52:15 +00:00
小游戏广告,支付和一些常用接口处理
This commit is contained in:
9
libs/lib.ali.api.d.ts
vendored
9
libs/lib.ali.api.d.ts
vendored
@@ -3516,6 +3516,15 @@ interface My {
|
||||
*
|
||||
*/
|
||||
getLaunchOptionsSync(): AliyMiniprogram.AppLaunchOptions;
|
||||
getEnterOptionsSync(): AliyMiniprogram.AppLaunchOptions;
|
||||
requestGamePayment(data: {
|
||||
customId: string,
|
||||
buyQuantity: number,
|
||||
extraInfo?: Record<string, any>,
|
||||
success?: (res: { resultCode: number }) => void,
|
||||
fail?: (res: CallBack.Fail) => void,
|
||||
complete?: () => void
|
||||
}): void;
|
||||
|
||||
/** 监听小游戏回到前台的事件 */
|
||||
onShow(listener: (res: AliyMiniprogram.AppLaunchOptions) => void);
|
||||
|
||||
Reference in New Issue
Block a user