seimin преди 1 година
родител
ревизия
2a535bc6ff
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      pages/homePage/homePage.vue

+ 3 - 1
pages/homePage/homePage.vue

@@ -697,7 +697,9 @@
697 697
           password: this.password.trim(),
698 698
           type: 'APP'
699 699
         };
700
-        data = this.encryptByEnAES(JSON.stringify(data));
700
+        data = {
701
+          k: this.encryptByEnAES(JSON.stringify(data))
702
+        };
701 703
         post("/auth/login", data).then((res) => {
702 704
           uni.hideLoading();
703 705
           if (res.status == 200) {