feat(mp+health): 小程序分包迁移 + 积分商城后台列表 API
- 小程序页面迁移到 pkg-health/pkg-mall/pkg-profile 分包目录 - 删除旧 pages/health/input、pages/mall/detail 等旧路径 - 导航路径更新为分包路径(/pages/pkg-mall/exchange/index 等) - TrendChart 组件优化 - 后台添加 admin_list_products API(支持查看已下架商品) - config/index.ts 添加 defineConstants 环境变量 - mp e2e check-readiness 路径修正
This commit is contained in:
@@ -13,6 +13,6 @@ async function check(url: string, label: string) {
|
||||
|
||||
export default async function setup() {
|
||||
const apiBase = process.env.E2E_API_URL || 'http://localhost:3000';
|
||||
await check(`${apiBase}/health/live`, '后端 API');
|
||||
await check(`${apiBase}/api/v1/health`, '后端 API');
|
||||
console.log('✅ 小程序 E2E 环境就绪');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user