diff --git a/app.js b/app.js index 704b630..4ae0d87 100644 --- a/app.js +++ b/app.js @@ -9,6 +9,7 @@ const plugin = requirePlugin("myPlugin") App({ onLaunch() { this.globalData.sysinfo = wx.getSystemInfoSync() + // wx885b65d99da00084 plugin.init('wx20de9fe5943934a1', '458f9df0-3405-66a9-1cdb-49d5f4197e6a') .then(function(res){ console.log('res', res) diff --git a/pages/login/login.js b/pages/login/login.js index b7ad9f3..1471249 100644 --- a/pages/login/login.js +++ b/pages/login/login.js @@ -171,7 +171,7 @@ Page({ wx.setStorageSync('password', this.data.password) wx.setStorageSync('username', this.data.username) wx.setStorageSync('checked', this.data.checked) - } else { + } else { wx.removeStorageSync('password') wx.removeStorageSync('username') wx.removeStorageSync('checked') diff --git a/pagesA/facepeople/facepeople.js b/pagesA/facepeople/facepeople.js index 8f27685..93acacc 100644 --- a/pagesA/facepeople/facepeople.js +++ b/pagesA/facepeople/facepeople.js @@ -155,12 +155,13 @@ Page({ pageNum: 0, pageSize: 0, q: JSON.stringify({ - // cardId: this.data.personLi.cardId, + cardId: '1444', deviceNum: this.data.deviceinfo.deviceNum, types: "0", inStatus: '0,1,702' }) } + console.log(data, "data"); WXAPI.getCertificates(data).then(res => { var dataOne = util.zlib_unzip(res.data) console.log("人脸", res, dataOne); diff --git a/pagesA/facepeople/facepeople.wxml b/pagesA/facepeople/facepeople.wxml index ee59ab6..6828d33 100644 --- a/pagesA/facepeople/facepeople.wxml +++ b/pagesA/facepeople/facepeople.wxml @@ -17,7 +17,7 @@ - + {{item.pzname}}