初始化模版工程

This commit is contained in:
Cloud Bot
2026-03-20 07:33:46 +00:00
commit 23717e0ecd
386 changed files with 51675 additions and 0 deletions

18
utils/getAuth.ts Normal file
View File

@@ -0,0 +1,18 @@
/**
* @description 从当前服务里获取到当前登录的userId
* @returns userId | undefined
*/
export async function getUserId() {
// 从当前服务里获取到当前登录的userId
// 默认值是undefined
return void 0;
}
/**
* @description Get ProjectId
* @returns projectId | undefined
*/
export function getProjectId() {
return process.env.PROJECT_ID ?? void 0;
}