- add VITE_CLIENT_ID environment variable to all .env files, adjust API and socket URLs across dev/staging/prod environments - update request utility to use env var for client ID instead of hardcoded "6" - refactor GoodDetail component: replace uni-icons with van-icon, switch markdown renderer to vue3-markdown-it - refactor Calendar component: swap uni-popup for van-popup, remove deprecated SCSS styles, update markup and toast calls - fix ImageSwiper: rename handler methods, update preview navigation to use vue router, remove redundant code - correct margin class syntax in goods index page
14 lines
299 B
Plaintext
14 lines
299 B
Plaintext
# 生产环境配置
|
|
VITE_APP_ENV = 'production'
|
|
|
|
# API 基础 URL
|
|
VITE_API_BASE_URL = 'https://biz.nianxx.cn'
|
|
|
|
# API 请求超时时间(毫秒)
|
|
VITE_API_TIMEOUT_MS = 10000
|
|
|
|
# Socket 基础 URL
|
|
VITE_SOCKET_BASE_URL = "wss://biz.nianxx.cn/ingress/agent/ws/chat"
|
|
|
|
# Client ID
|
|
VITE_CLIENT_ID = "12" |