Browse Source

通行记录接口添加参数loginid

yanym 5 years ago
parent
commit
39ca54e3f7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      dorm-manager-wx/pages/teacher/pass/pass.js

+ 2 - 1
dorm-manager-wx/pages/teacher/pass/pass.js

@@ -160,8 +160,9 @@ Page({
 
   getDeviceInfo: function(e) {
     const that = this;
+    let loginId = wx.getStorageSync('loginId');
     util.httpRequest(api.getDeviceInfo, {
-
+      loginId: loginId
     }, 'post').then(res => {
       let deviceArray = [];
       for (let i = 0; i < res.data.length; i++) {