From 0b3c4a0ffa0ff53e892e5fdacc7c4ac196393a70 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 16 Dec 2025 15:32:48 +0800
Subject: [PATCH] feat:部署微信小程序测试

---
 src/config/env.js |   31 ++++++++++++++++++++++++-------
 1 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/src/config/env.js b/src/config/env.js
index 4ea2a2e..94e7913 100644
--- a/src/config/env.js
+++ b/src/config/env.js
@@ -1,26 +1,43 @@
+/*
+ * @Author       : yuan
+ * @Date         : 2025-12-15 17:51:08
+ * @LastEditors  : yuan
+ * @LastEditTime : 2025-12-16 15:01:04
+ * @FilePath     : \src\config\env.js
+ * @Description  :
+ * Copyright 2025 OBKoro1, All Rights Reserved.
+ * 2025-12-15 17:51:08
+ */
 // 如果是打包app,需要改这里,h5不需要改这里
 const development = {
   VITE_APP_ENV:'development',
   // 开发环境这里改为自己的
-  // VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/drone-app-web-view/#/webViewWrapper',
-  VITE_APP_WEBVIEW_URL: 'http://localhost:5173/drone-app-web-view/#/webViewWrapper',
+  VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/drone-app-web-view/#/webViewWrapper',
+  // VITE_APP_WEBVIEW_URL: 'http://localhost:5173/drone-app-web-view/#/webViewWrapper',
   VITE_API_BASE_URL: 'https://wrj.shuixiongit.com/api',
   // VITE_API_BASE_URL: 'https://aisky.org.cn/api',
-  VITE_APP_WS_API_URL:'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws'
+  VITE_APP_WS_API_URL:'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws',
+
+  // 静态资源存放地址'
+  VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/drone-app/assets/static'
 }
 
 const test = {
-  VITE_APP_ENV:'test',
+  VITE_APP_ENV: 'test',
   VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/drone-app-web-view/#/webViewWrapper',
   VITE_API_BASE_URL: 'https://wrj.shuixiongit.com/api',
-  VITE_APP_WS_API_URL:'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws'
+  VITE_APP_WS_API_URL: 'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws',
+  // 静态资源存放地址'
+  VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/drone-app/assets/static'
 }
 
 const production = {
-  VITE_APP_ENV:'production',
+  VITE_APP_ENV: 'production',
   VITE_APP_WEBVIEW_URL: 'https://aisky.org.cn/drone-app-web-view/#/webViewWrapper',
   VITE_API_BASE_URL: 'https://aisky.org.cn/api',
-  VITE_APP_WS_API_URL:'wss://aisky.org.cn/drone-wss/api/v1/ws'
+  VITE_APP_WS_API_URL: 'wss://aisky.org.cn/drone-wss/api/v1/ws',
+  // 静态资源存放地址'
+  VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/drone-app/assets/static'
 }
 
 export default {

--
Gitblit v1.9.3