front/.env.development
zzh c0c37a4eac
All checks were successful
Build and Deploy Front / deploy (push) Successful in 5m39s
chore: 拆分生产 ideship / 测试 nanafa 两套环境配置
生产用 .env.production 与 pnpm build;测试用 .env.nanafa 与 pnpm build:test;本地 pnpm dev / dev:ideship 可切换。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 12:38:11 +08:00

19 lines
837 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =============================================================================
# 本地开发默认 → 测试环境 oms.nanafa.com / api.nanafa.com
# 切换到生产 API:pnpm dev:ideship (加载 .env.ideship)
# 发版构建:pnpm build(生产) / pnpm build:test(测试)
# =============================================================================
VITE_DEPLOY_TARGET=nanafa
VITE_API_ORIGIN=http://api.nanafa.com
VITE_API_ADMIN_URL=http://api.nanafa.com/admin
VITE_OMS_ADMIN_URL=http://api.nanafa.com/admin
VITE_API_ASSET_ORIGIN=http://api.nanafa.com/admin
# 企业微信客服
VITE_WECOM_KF_URL=https://work.weixin.qq.com/kfid/kfcae09c206f6c7045a
# 智谱 AI(接口映射脚本生成)
VITE_ZHIPU_API_KEY=85bbbef6bafd4ca383eef04189decd07.lKVQHcLGtYE8oUn5
VITE_ZHIPU_BASE_URL=/zhipu-api
VITE_ZHIPU_MODEL=glm-5.1