From b7aeb1865574584d70e61a4b72bb00b87f12f479 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期二, 11 六月 2024 20:08:52 +0800
Subject: [PATCH] 5600 run custonevent
---
store/index.js | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/store/index.js b/store/index.js
index 157d1fb..8d2cdac 100644
--- a/store/index.js
+++ b/store/index.js
@@ -11,6 +11,7 @@
},
state: {
hasLogin: false,
+ deviceId:'',
apkVersionInfo: "",
loginProvider: "",
areaFunc:'',
@@ -38,6 +39,9 @@
OIMongodbSvr: '' //115.29.185.26:5201
},
mutations: {
+ setDeviceId(state, ret) {
+ state.deviceId = ret;
+ },
setUrl(state, url) {
state.url = url;
},
@@ -124,6 +128,9 @@
},
},
getters: {
+ getDeviceId(state, ret) {
+ return state.deviceId
+ },
GetApkServionInfo(state) {
return state.apkVersionInfo
},
@@ -264,10 +271,14 @@
app_type: "mobox",
user_login: Base64.encode(univerifyInfo.uname),
user_psw: Base64.encode(univerifyInfo.pwd),
+ client_info:{
+ type: 3, //瀹㈡埛绔被鍨嬶細0鈥揚C锛�鈥揥EB锛�鈥撳畨鍗擄紝3鈥撳畨鍗揚AD锛�鈥搃Phone锛�5鈥搃Pad锛�6鈥撳叾瀹�+ num: state.deviceId //PDA鐨勮澶囧彿
+ }
};
header={};
}
-
+ console.log(univerifyInfo);
uni.request({
url: url,
data: univerifyInfo,
--
Gitblit v1.9.1