拜访区域和被访人增加联动

This commit is contained in:
chenglijuan
2026-04-28 15:30:05 +08:00
parent 533edb56bf
commit 1ba5ea1084
4 changed files with 81 additions and 8 deletions
+4 -2
View File
@@ -6,7 +6,8 @@ const ENV_CONFIG = {
// release: 'https://xcx.yun.588580.xyz',
trial: 'https://qywx.yun.588580.xyz',
// 开发版 & 体验版
develop: 'http://172.16.60.235:8080'
// develop: 'http://172.16.60.235:8080'
develop: 'http://10.50.13.191:8080'
}
// 自动判断当前运行环境
@@ -27,7 +28,8 @@ const API = {
APPOINTMENT_CREATE: '/api/wx-mini/appointment/create',
APPOINTMENT_CANCEL: '/api/wx-mini/appointment/cancel',
APPOINTMENT_DETAIL: '/api/wx-mini/appointment/detail',
WXACODE: '/api/wx-mini/wxacode'
WXACODE: '/api/wx-mini/wxacode',
PERSON_SELECTOR: '/api/wx-mini/appointment/person/selector'
}
console.log('[config] 当前环境:', wx.getAccountInfoSync().miniProgram.envVersion, 'BASE_URL:', BASE_URL)