feat(catalog): connect product pages to backend

This commit is contained in:
lai_hong
2026-09-13 11:09:57 +08:00
parent a13e380009
commit 2968a4b20f
23 changed files with 315 additions and 123 deletions
+2
View File
@@ -14,6 +14,8 @@ const config = {
plugins: [],
defineConstants: {
__OSS_BASE_URL__: JSON.stringify(process.env.OSS_BASE_URL || ''),
// 接口基址由本机 .env 注入;不写则继续使用已部署的测试服务。
__API_BASE_URL__: JSON.stringify(process.env.TARO_APP_API_BASE_URL || 'https://wxbackend.tokenleaping.com'),
},
copy: {
patterns: [