lsc 3 months ago
parent
commit
0d1f5662c2
1 changed files with 14 additions and 14 deletions
  1. 14 14
      src/views/login/loginPage.vue

+ 14 - 14
src/views/login/loginPage.vue

@@ -324,20 +324,20 @@ export default {
 		},
 		//获取组织或学校的数据
 		getOpenId(code) {
-			let params = {
-				code: code, //学校id
-			};
-			// 发起请求
-			this.$ajax
-				.get(`//weixin.cocorobo.cn/login.php`, params)
-				.then((res) => {
-					let data = res.data[0];
-					console.log("data", data);
-					this.loginType = 'bind'
-				})
-				.catch((err) => {
-					console.error("请求失败,错误信息:", err);
-				});
+			// let params = {
+			// 	code: code, //学校id
+			// };
+			// // 发起请求
+			// this.$ajax
+			// 	.get(`//weixin.cocorobo.cn/login.php`, params)
+			// 	.then((res) => {
+			// 		let data = res.data[0];
+			// 		console.log("data", data);
+			// 		this.loginType = 'bind'
+			// 	})
+			// 	.catch((err) => {
+			// 		console.error("请求失败,错误信息:", err);
+			// 	});
 		},
 	},
 	mounted() {