Explorar o código

通行记录接口添加参数loginid

yanym %!s(int64=5) %!d(string=hai) anos
pai
achega
39ca54e3f7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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++) {