first commit

This commit is contained in:
2025-10-16 21:32:16 +08:00
commit c446df73b5
229 changed files with 499497 additions and 0 deletions

15
typings/index.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
/// <reference path="./types/index.d.ts" />
interface IAppOption {
globalData: {
userInfo: any,
isLoggedIn: boolean,
openid?: string,
session_key?: string
}
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback,
initAuth: () => Promise<void>,
checkLocationPermission: () => Promise<void>,
doGlobalLogin: () => Promise<boolean>,
doGlobalLogout: () => void
}