fix(api): 修复优惠券页面 API 调用错误并优化调试信息

- 更新 API 请求方式,使用正确的 request-legacy 导入
- 在优惠券页面添加详细的调试日志,帮助排查显示问题
- 修复 Tabs 组件的类型错误,确保类型安全- 优化页面渲染逻辑,增加可视化调试信息
- 更新文档,提供详细的调试步骤和常见问题分析
This commit is contained in:
2025-08-14 19:59:56 +08:00
parent 6d9a6ef7e4
commit dc87f644c9
10 changed files with 504 additions and 16 deletions

View File

@@ -2,13 +2,13 @@
export const ENV_CONFIG = {
// 开发环境
development: {
API_BASE_URL: 'https://cms-api.s209.websoft.top/api',
API_BASE_URL: 'https://cms-api.websoft.top/api',
APP_NAME: '开发环境',
DEBUG: 'true',
},
// 生产环境
production: {
API_BASE_URL: 'https://cms-api.s209.websoft.top/api',
API_BASE_URL: 'https://cms-api.websoft.top/api',
APP_NAME: '时里院子市集',
DEBUG: 'false',
},