扫码进入详情

This commit is contained in:
ws
2026-04-27 17:05:35 +08:00
parent 3eb2718559
commit eb5af3fa4a
7 changed files with 284 additions and 4 deletions
+3 -2
View File
@@ -6,7 +6,7 @@ const ENV_CONFIG = {
// release: 'https://xcx.yun.588580.xyz',
trial: 'https://qywx.yun.588580.xyz',
// 开发版 & 体验版
develop: 'https://qywx.yun.588580.xyz'
develop: 'http://172.16.60.235:8080'
}
// 自动判断当前运行环境
@@ -25,7 +25,8 @@ const API = {
APPOINTMENT_LATEST: '/api/wx-mini/appointment/latest',
APPOINTMENT_LIST: '/api/wx-mini/appointment/list',
APPOINTMENT_CREATE: '/api/wx-mini/appointment/create',
APPOINTMENT_CANCEL: '/api/wx-mini/appointment/cancel'
APPOINTMENT_CANCEL: '/api/wx-mini/appointment/cancel',
APPOINTMENT_DETAIL: '/api/wx-mini/appointment/detail'
}
console.log('[config] 当前环境:', wx.getAccountInfoSync().miniProgram.envVersion, 'BASE_URL:', BASE_URL)