hmp 4 éve
szülő
commit
520021382a
1 módosított fájl, 5 hozzáadás és 2 törlés
  1. 5 2
      pages/login/account-login.vue

+ 5 - 2
pages/login/account-login.vue

@@ -96,9 +96,12 @@
 				let params={
 					tenantId:this.form.tenantId,
 					username:this.form.username,
-					password:md5Libs.md5(this.form.password)
+					password:md5Libs.md5(this.form.password),
+					grant_type:"password",
+					scope:"all",
+					type:"account"
 				}
-				this.$api.system.login(params).then(res=>{
+				this.$api.system.login(this.$u.queryParams(params)).then(res=>{
 					if (this.$isNotEmpty(res.access_token)) {
 						this.cacheToken(res)
 						uni.redirectTo({