接口对接修改

This commit is contained in:
仲么了
2023-07-24 08:47:20 +08:00
parent 2104bc0c4c
commit 689436759f
31 changed files with 1070 additions and 448 deletions

View File

@@ -3,6 +3,7 @@ import { queryDictDataCache } from './common/api/dictionary.js'
import encrypt from './common/js/aes.js'
export default {
onLaunch: function () {
console.log(window);
// this.connect()
console.log('App Launch')
let devCode = uni.getStorageSync('devCode')
@@ -13,13 +14,12 @@ export default {
},
})
}
queryDictDataCache().then((res) => {
uni.setStorageSync(this.$cacheKey.dictData, res.data)
})
},
onShow: function () {
console.log('App Show')
queryDictDataCache().then((res) => {
uni.setStorageSync(this.$cacheKey.dictData, res.data)
})
},
onHide: function () {
console.log('App Hide')