From 6050beb7c315bb0450e7c039a0455b96d4c1ce8f Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期三, 12 六月 2024 18:16:05 +0800 Subject: [PATCH] rfid扫码 --- 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