From a12c107acb3cab36e4ad92062baa27e03aaf830a Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 17 六月 2024 11:32:39 +0800
Subject: [PATCH] h5

---
 h5/utils/config.js      |    2 +-
 h5/manifest.json        |    4 ++--
 h5/static/redirect.html |    6 +++---
 h5/store/index.js       |    3 ++-
 4 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/h5/manifest.json b/h5/manifest.json
index a51b68e..1d56a23 100644
--- a/h5/manifest.json
+++ b/h5/manifest.json
@@ -1,6 +1,6 @@
 {
     "name" : "laborVisitors",
-    "appid" : "__UNI__E3BA820",
+    "appid" : "__UNI__BCCF400",
     "description" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",
@@ -91,7 +91,7 @@
             "proxy" : {
                 "/api" : {
                     // 杩欎釜瀛楁鍚嶉渶涓庝綘閰嶇疆鐨刡asePrefixUrl涓�鑷达紝绯荤粺璇嗗埆鍒板甫鏈�/dev-api璇锋眰鐨勫湴鍧�鏃讹紝浼氬湪鍓嶉潰鎷兼帴涓婁唬鐞嗘湇鍔″櫒鍦板潃
-                    "target" : "http://192.168.0.143:10010", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃
+                    "target" : "http://192.168.0.173/admin_interface", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃
                     "changeOrigin" : true, // 鍏佽璺ㄥ煙 
                     "pathRewrite" : {
                         "^/api" : "" // 閲嶅啓鍦板潃锛屽鏋滃疄闄呮帴鍙d腑鏄笉甯�/dev-api锛岄渶瑕佸皢杩欎釜鍓嶇紑缃┖锛屽洜涓鸿繖涓墠缂�鍙槸涓轰簡璇嗗埆鐢紝璇嗗埆瀹屼箣鍚庡氨娌$敤浜�
diff --git a/h5/static/redirect.html b/h5/static/redirect.html
index b86e4aa..a47a805 100644
--- a/h5/static/redirect.html
+++ b/h5/static/redirect.html
@@ -5,9 +5,9 @@
   <title>閲嶅畾鍚�</title>
   <script>
     var p = location.href.split("?")
-    // window.location.href = 'https://dmtest.ahapp.net/hsvisit_h5/#/pages/notice/notice?' + p[1]
-	  window.location.href = 'http://xiaopiqiu2.natapp1.cc/#/pages/notice/notice?' + p[1]
-	  // window.location.href = 'http://xiaopiqiu2.natapp1.cc/#/pages/staff/index?' + p[1]
+    // window.location.href = 'http://192.168.0.173/h5/#/pages/notice/notice?' + 'code=123123'
+	  window.location.href = 'http://192.168.0.173/h5/#/pages/notice/notice?' + p[1]
+	  // window.location.href = 'http://192.168.0.173/h5/#/pages/staff/index?' + p[1]
   </script>
 </head>
 <body>
diff --git a/h5/store/index.js b/h5/store/index.js
index 1d0effc..884b032 100644
--- a/h5/store/index.js
+++ b/h5/store/index.js
@@ -18,7 +18,8 @@
 const store = new Vuex.Store({
 
 	state: {
-		openId: openId || '061kuG0006hxcS13TT200w9VIp4kuG09',
+		// openId: openId || '061kuG0006hxcS13TT200w9VIp4kuG09',
+		openId: openId || '',
 		member: member || null,
 		statusbarHeight: statusbarHeight || '0',
 		navHeight: navHeight || '0',
diff --git a/h5/utils/config.js b/h5/utils/config.js
index fec6301..03c8927 100644
--- a/h5/utils/config.js
+++ b/h5/utils/config.js
@@ -1,4 +1,4 @@
 
-export const baseUrl = 'api/'
+export const baseUrl = 'admin_interface/'
 export const uploadAvatar = `${baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`
 export const uploadUrl = `${baseUrl}visitsAdmin/cloudService/public/uploadBatch`

--
Gitblit v1.9.3