zhongtianhaoyuan 3 년 전
부모
커밋
be90a54075
4개의 변경된 파일11개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 0
      pages/mine/settings/editPassword.vue
  2. 4 2
      pages/public/code.vue
  3. 2 1
      pages/public/login.vue
  4. 4 2
      pages/public/register.vue

+ 1 - 0
pages/mine/settings/editPassword.vue

@@ -130,6 +130,7 @@
 				this.$refs.registerForm.validate().then(res => {
 					uni.$u.toast('校验通过')
 					_this.isLoading = true
+					_this.registerData.identification = 2
 					_this.$request.baseRequest('post', '/commonUser/resetPassword', _this.registerData).then(
 						res => {
 							// 获得数据

+ 4 - 2
pages/public/code.vue

@@ -120,13 +120,15 @@
 					that.$request.baseRequest('get', '/commonUser/loginVerifyCode', {
 							phone: this.phone,
 							verifyCode: this.inputList,
-							loginFlag: 1
+							loginFlag: 1,
+							identification:2
 						}).then(res => {
 							if (res.code == 200) {
 								that.$request.baseRequest('post', '/commonUser/api/loginQuickly', {
 									mobilePhone: this.phone,
 									veriCode: "123456",
-									loginFlag: 1
+									loginFlag: 1,
+									identification:2
 								}).then(res1 => {
 									that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
 										reCommonId: this.userInfo.id,

+ 2 - 1
pages/public/login.vue

@@ -150,7 +150,8 @@
 				that.$request.baseRequest('get', '/commonUser/login', {
 						phone: this.phone,
 						password: this.password,
-						loginFlag: 1
+						loginFlag: 1,
+						identification:2
 					}).then(res => {
 						if (res.code == 200) {
 							console.log("userInfo", res.data)

+ 4 - 2
pages/public/register.vue

@@ -228,7 +228,8 @@
 						phone: this.phone,
 						password: this.password,
 						verifyCode: this.verifyCode,
-						userName: username
+						userName: username,
+						identification:2
 					}).then(res => {
 						if (res.code == '11002') {
 							uni.showToast({
@@ -252,7 +253,8 @@
 							that.$request.baseRequest('get', '/commonUser/login', {
 									phone: this.phone,
 									password: this.password,
-									loginFlag: 1
+									loginFlag: 1,
+									identification:2
 								}).then(res => {
 									if (res.code == 200) {
 										console.log("userInfo", res.data)