feat: 套餐折叠、小程序 staging API、首页去筛选、企微日志权限

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-03 20:17:52 +08:00
parent ac2f9f4793
commit ffa753707b
9 changed files with 558 additions and 261 deletions
+2 -1
View File
@@ -9,9 +9,10 @@ const isDevMode =
process.argv.includes('development');
/** 小程序/H5 请求的后端 origin(不含 /api);本地默认本机,生产构建默认远程 */
// TODO(prod-release): 发生产前改回 https://api.dukanghaoke.com
const API_ORIGIN =
process.env.VITE_API_TARGET ??
(isDevMode ? 'http://localhost:3000' : 'https://api.dukanghaoke.com');
(isDevMode ? 'http://localhost:3000' : 'https://api-test.dukanghaoke.com');
const requireFromApp = createRequire(path.resolve(__dirname, '../package.json'));