From ec55a2b248ec0da130eadbaf6c658be2d3b37014 Mon Sep 17 00:00:00 2001 From: shanao <178391389@qq.com> Date: Wed, 8 Jan 2025 16:21:11 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"1.=E7=BC=93=E5=AD=98=E4=B8=AD?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E9=99=84=E4=BB=B6=E5=9C=B0=E5=9D=80=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E9=94=99=E8=AF=AF"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 8a0ca55b4316d94b5017fb63109db11fec90bf69. --- App.vue | 1 - manifest.json | 25 +++++++++++++------------ pages/login/login.vue | 2 +- store/index.js | 2 +- utils/request.js | 5 +++-- utils/tools.js | 2 +- 6 files changed, 19 insertions(+), 18 deletions(-) diff --git a/App.vue b/App.vue index 0d82820..1d4b2e1 100644 --- a/App.vue +++ b/App.vue @@ -3,7 +3,6 @@ export default { onLaunch: function () { console.log('App Launch') this.isLogin() - this.$store.dispatch('setfilePath', 'https://skqhdg.porthebei.com:9004/file/'); }, onShow: function () { console.log('App Show') diff --git a/manifest.json b/manifest.json index c76dda1..2e526d6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,9 @@ { "name" : "秦港双控-监管端", - "appid" : "__UNI__DB65C6B", + "appid" : "__UNI__2AFFD9C", "description" : "秦港双控-监管端", - "versionName" : "01.00.55", - "versionCode" : 55, + "versionName" : "01.00.44", + "versionCode" : 42, "transformPx" : false, /* 5+App特有相关 android:value="uni.UN5E8A412|__UNI__DB65C6B|124611200205|common" */ @@ -33,20 +33,21 @@ /* android打包配置 */ "android" : { "permissions" : [ - "", - "", - "", - "", - "", + "", "", "", + "", "", - "", - "", + "", "", - "", "", - "", + "", + "", + "", + "", + "", + "", + "", "" ], "minSdkVersion" : 21, diff --git a/pages/login/login.vue b/pages/login/login.vue index 0fbb5e7..329fa1a 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -96,7 +96,7 @@ export default { const keydataVal = jsencrypt.encrypt('qdkjchina' + this.form.userName + ',qd,' + this.form.userPwd) let resData = await submitLogin({'KEYDATA':keydataVal}); await this.$store.dispatch('setUserInfo', resData); - // await this.$store.dispatch('setfilePath', ''); + await this.$store.dispatch('setfilePath', ''); uni.$u.route({ url: '/pages/index/index', type: 'reLaunch' diff --git a/store/index.js b/store/index.js index 6b893c0..35d8f88 100644 --- a/store/index.js +++ b/store/index.js @@ -32,7 +32,7 @@ const store = new Vuex.Store({ } , setfilePath(state, filePath) { // state.filePath = 'https://skqhdg.porthebei.com:9004/file/' - state.filePath = filePath + state.filePath = 'https://wwag.qhdsafety.com/file/' } }, actions: { diff --git a/utils/request.js b/utils/request.js index 415a3dc..cfedc77 100644 --- a/utils/request.js +++ b/utils/request.js @@ -1,6 +1,7 @@ -export var requestPath = 'https://skqhdg.porthebei.com:9005/qa-regulatory-gwj/'; // 后台请求地址 -// export var requestPath = 'http://192.168.0.100:8092/'; +// export var requestPath = 'https://skqhdg.porthebei.com:9005/qa-regulatory-gwj/'; // 后台请求地址 +export var requestPath = 'http://192.168.0.100:8092/'; + let videoApiPath = 'https://arqsp.qhdsafety.com:10010'; // 视频平台后台请求地址 import store from '../store/index' function post(url, data) { diff --git a/utils/tools.js b/utils/tools.js index c58a95b..cbbb82b 100644 --- a/utils/tools.js +++ b/utils/tools.js @@ -22,7 +22,7 @@ export function formatDate(date, fmt) { } } -export const filePath = 'https://skqhdg.porthebei.com:9004/file/' +export const filePath = 'https://wwag.qhdsafety.com/file/' function padLeftZero(str) { return ('00' + str).substr(str.length)