From e14358f85a7d32a753225f253ff223d17cf36c25 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 02 Apr 2025 19:10:00 +0800
Subject: [PATCH] style: 风格处理

---
 src/utils/http/config.js |  101 ++++++++++++++++++++++++++------------------------
 1 files changed, 52 insertions(+), 49 deletions(-)

diff --git a/src/utils/http/config.js b/src/utils/http/config.js
index 41da14e..2930d33 100644
--- a/src/utils/http/config.js
+++ b/src/utils/http/config.js
@@ -1,52 +1,55 @@
 export const CURRENT_CONFIG = {
-  // license
-  appId: '136971', // You need to go to the development website to apply.
-  appKey: '3e56cb20958060caeb1071cdb32400e', // You need to go to the development website to apply.
-  appLicense:
-      'eS2rczbPpEUZZkOuek7hB1fugv3TE0RdKyEU319A2cxmVKs7Bc11RadcPcHnQJjBq/Peja5R6bp2IILCypa2lskCUGXkXHmqxdPIVTyMQpkZtjM+eXLut/VHPdXVZOvYxKFMVel6jfEyd4rWL9jBI1N34rCvwSgad6T49mRC8R0=', // You need to go to the development website to apply
-  // http
-  // http://172.16.13.64:8100
-  // baseURL: 'http://192.168.1.133:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
-  // baseURL: 'http://192.168.1.133:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
-  baseURL: 'http://192.168.1.198:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
-  // ws: 'ws//127.0.0.1:6789/api/v1/ws',
-  // ws://192.168.1.198:1883/
-  websocketURL: 'ws://192.168.1.198:6789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
-  // websocketURL: 'ws://192.168.1.133:6789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
-  // websocketURL: 'wss://dev.jxpskj.com:36789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
+	// license
+	appId: '136971', // You need to go to the development website to apply.
+	appKey: '3e56cb20958060caeb1071cdb32400e', // You need to go to the development website to apply.
+	appLicense:
+		'eS2rczbPpEUZZkOuek7hB1fugv3TE0RdKyEU319A2cxmVKs7Bc11RadcPcHnQJjBq/Peja5R6bp2IILCypa2lskCUGXkXHmqxdPIVTyMQpkZtjM+eXLut/VHPdXVZOvYxKFMVel6jfEyd4rWL9jBI1N34rCvwSgad6T49mRC8R0=', // You need to go to the development website to apply
+	// http
+	// http://172.16.13.64:8100
+	// baseURL: 'http://192.168.1.133:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
+	// baseURL: 'http://192.168.1.133:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
+	baseURL: 'http://192.168.1.198:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
+	// ws: 'ws//127.0.0.1:6789/api/v1/ws',
+	// ws://192.168.1.198:1883/
+	websocketURL: 'ws://192.168.1.198:6789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
+	// websocketURL: 'ws://192.168.1.133:6789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
+	// websocketURL: 'wss://dev.jxpskj.com:36789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
 
-  // livestreaming
-  // RTMP  Note: This IP is the address of the streaming server. If you want to see livestream on web page, you need to convert the RTMP stream to WebRTC stream.
-  // rtmpURL: 'rtmp://www.yb.zhbhd.top:30005/uav/', // Example: 'rtmp://192.168.1.1/live/'
-  rtmpURL: import.meta.env.VITE_APP_ENV === 'production'?'rtmp://101.132.85.201/live/':'rtmp://139.196.74.78/live/',
-  rtmpURL2: 'rtmp://www.ainfo.top:735/uav/', // Example: 'rtmp://192.168.1.1/live/'
-  // GB28181 Note:If you don't know what these parameters mean, you can go to Pilot2 and select the GB28181 page in the cloud platform. Where the parameters same as these parameters.
-  // gbServerIp: '171.34.76.175',
-  // gbServerPort: '15060',
-  // gbServerId: '34020000002000000001',
-  // gbPassword: '12345678',
-  // gbAgentId: '34020000001320000001',
-  // gbAgentPort: '8080',
-  // gbAgentChannel: '34020000001320000001',
-  gbServerIp: '139.196.74.78',
-  gbServerPort: '8116',
-  gbServerId: '41010500002000000001',
-  gbAgentId: '41010500002000000002',
-  gbPassword: '12345678',
-  gbAgentPort: '7080',
-  gbAgentChannel: '41010500002000000003',
-  // RTSP
-  rtspUserName: 'Please enter the username.',
-  rtspPassword: 'Please enter the password.',
-  rtspPort: '8554',
-  // Agora
-  agoraAPPID: '0a472a3b0f1543ab9e66d1ad4e6a91c8',
-  agoraToken:
-      '007eJxTYLgR7L7yzoUww9Lj530XRDExB/68L/1CN1Ps7vnJmn/vWfQqMBgkmpgbJRonGaQZmpoYJyZZppqZpRgmppikmiVaGiZbrDzKnNoQyMhg98uLmZEBAkF8ZobEzAoGBgB1nB/x',
-  agoraChannel: 'aix',
+	// livestreaming
+	// RTMP  Note: This IP is the address of the streaming server. If you want to see livestream on web page, you need to convert the RTMP stream to WebRTC stream.
+	// rtmpURL: 'rtmp://www.yb.zhbhd.top:30005/uav/', // Example: 'rtmp://192.168.1.1/live/'
+	rtmpURL:
+		import.meta.env.VITE_APP_ENV === 'production'
+			? 'rtmp://101.132.85.201/live/'
+			: 'rtmp://139.196.74.78/live/',
+	rtmpURL2: 'rtmp://www.ainfo.top:735/uav/', // Example: 'rtmp://192.168.1.1/live/'
+	// GB28181 Note:If you don't know what these parameters mean, you can go to Pilot2 and select the GB28181 page in the cloud platform. Where the parameters same as these parameters.
+	// gbServerIp: '171.34.76.175',
+	// gbServerPort: '15060',
+	// gbServerId: '34020000002000000001',
+	// gbPassword: '12345678',
+	// gbAgentId: '34020000001320000001',
+	// gbAgentPort: '8080',
+	// gbAgentChannel: '34020000001320000001',
+	gbServerIp: '139.196.74.78',
+	gbServerPort: '8116',
+	gbServerId: '41010500002000000001',
+	gbAgentId: '41010500002000000002',
+	gbPassword: '12345678',
+	gbAgentPort: '7080',
+	gbAgentChannel: '41010500002000000003',
+	// RTSP
+	rtspUserName: 'Please enter the username.',
+	rtspPassword: 'Please enter the password.',
+	rtspPort: '8554',
+	// Agora
+	agoraAPPID: '0a472a3b0f1543ab9e66d1ad4e6a91c8',
+	agoraToken:
+		'007eJxTYLgR7L7yzoUww9Lj530XRDExB/68L/1CN1Ps7vnJmn/vWfQqMBgkmpgbJRonGaQZmpoYJyZZppqZpRgmppikmiVaGiZbrDzKnNoQyMhg98uLmZEBAkF8ZobEzAoGBgB1nB/x',
+	agoraChannel: 'aix',
 
-  // map
-  // You can apply on the AMap website.
-  amapKey: '5221d3ca929a7bf59c301be186c03791',
-  amapSearchKey: '6c3ea75b215f0c0efcbcfdf13273991b',
-};
+	// map
+	// You can apply on the AMap website.
+	amapKey: '5221d3ca929a7bf59c301be186c03791',
+	amapSearchKey: '6c3ea75b215f0c0efcbcfdf13273991b',
+}

--
Gitblit v1.9.3