Browse Source

修改公告不穿projectID

dmb
douzhuo 1 year ago
parent
commit
8dd77a04d2
1 changed files with 9 additions and 6 deletions
  1. +9
    -6
      pages/mine/messageList.vue

+ 9
- 6
pages/mine/messageList.vue View File

@@ -175,16 +175,19 @@
},
updateInit() {
uni.request({
url: config.service.updateList,
method: "GET",
data: {
let obj = {
messageType: this.list[this.current].id,
projectId: uni.getStorageSync('buildingID').id,
id: uni.getStorageSync('weapp_session_userInfo_data').accountId,
num: this.pageNum,
size: this.pageSize
},
}
if (this.current == 0) {
obj.projectId = uni.getStorageSync('buildingID').id
}
uni.request({
url: config.service.updateList,
method: "GET",
data: obj,
header: {
'content-type': 'application/json',
'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token


Loading…
Cancel
Save