超管后台 - 对接获取管理员列表

This commit is contained in:
柳清爽
2025-04-09 18:35:36 +08:00
parent c451d5b0eb
commit d33988aa4e
3 changed files with 200 additions and 14 deletions

12
SuperAdmin/lib/config.ts Normal file
View File

@@ -0,0 +1,12 @@
/**
* 获取应用配置
* @returns 应用配置
*/
export function getConfig() {
// 优先获取环境变量中配置的API地址
const apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://yishi.com';
return {
apiBaseUrl
};
}