扫码进入详情
This commit is contained in:
+3
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user