From d1448cb0ef10f358bb7bddb4e1ec268515e0b787 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 15 七月 2025 11:46:57 +0800
Subject: [PATCH] 项目初始化

---
 config/environment.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/config/environment.js b/config/environment.js
new file mode 100644
index 0000000..4713c3e
--- /dev/null
+++ b/config/environment.js
@@ -0,0 +1,18 @@
+const environment = {
+	// 寮�鍙戠幆澧冮厤缃�
+	development: {
+		// 鏈湴閮ㄧ讲鐨勫悗绔�
+		// baseURL: 'http://localhost:8080',
+		
+		// 鐩存帴浣跨敤绾夸笂鍚庣
+		baseURL: 'http://vue.ruoyi.vip/prod-api'
+	},
+	// 鐢熶骇鐜閰嶇疆
+	production: {
+		baseURL: 'http://vue.ruoyi.vip/prod-api' // 鍙戝竷鏃堕渶瑕佷慨鏀逛负鍚庣瀹為檯鍦板潃
+	}
+}
+
+module.exports = {
+  environment: environment[process.env.NODE_ENV]
+}
\ No newline at end of file

--
Gitblit v1.9.3