瀏覽代碼

通行记录接口添加参数loginid

yanym 5 年之前
父節點
當前提交
39ca54e3f7
共有 1 個文件被更改,包括 2 次插入1 次删除
  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++) {