From 32ab1af0797e3e8ab60dc646fc2c30cddf1dfa1f Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 22 七月 2024 11:34:18 +0800
Subject: [PATCH] update需求更新

---
 store/index.js |   32 ++------------------------------
 1 files changed, 2 insertions(+), 30 deletions(-)

diff --git a/store/index.js b/store/index.js
index 2f2a20c..7452b61 100644
--- a/store/index.js
+++ b/store/index.js
@@ -84,14 +84,8 @@
 					setColorIndex(state, index) {
 						state.colorIndex = index
 					},
-					setMatchLeftWindow(state, matchLeftWindow) {
-						state.noMatchLeftWindow = !matchLeftWindow
-					},
 					setActive(state, tabPage) {
 						state.active = tabPage
-					},
-					setLeftWinActive(state, leftWinActive) {
-						state.leftWinActive = leftWinActive
 					},
 					setActiveOpen(state, activeOpen) {
 						state.activeOpen = activeOpen
@@ -161,29 +155,6 @@
 									}
 								})
 							}
-						})
-					},
-					getPhoneNumber: function({
-						commit
-					}, univerifyInfo) {
-						return new Promise((resolve, reject) => {
-							uni.request({
-								url: 'https://97fca9f2-41f6-449f-a35e-3f135d4c3875.bspapp.com/http/univerify-login',
-								method: 'POST',
-								data: univerifyInfo,
-								success: (res) => {
-									const data = res.data
-									if (data.success) {
-										resolve(data.phoneNumber)
-									} else {
-										reject(res)
-									}
-
-								},
-								fail: (err) => {
-									reject(res)
-								}
-							})
 						})
 					},
 					getCurrentInfo: async function({
@@ -258,7 +229,8 @@
 									username: data.username,
 									password: data.password,
 									tel: data.phoneNumber || data.tel,
-									smsCode: data.smsCode || ''
+									smsCode: data.smsCode || '',
+									dto: data.dto || undefined
 								},
 								params: {
 									clientType: data.clientType || 'app'

--
Gitblit v1.9.3