diff --git a/pages/index/customer.vue b/pages/index/customer.vue index 9b75737..4b81e32 100644 --- a/pages/index/customer.vue +++ b/pages/index/customer.vue @@ -109,7 +109,8 @@ url: config.service.notReadNum, method: "GET", data: { - id: uni.getStorageSync('weapp_session_userInfo_data').accountId + id: uni.getStorageSync('weapp_session_userInfo_data').accountId, + projectId: uni.getStorageSync('buildingID').id, }, header: { 'content-type': 'application/json', diff --git a/pages/index/learning.vue b/pages/index/learning.vue index e272ebb..8ef3606 100644 --- a/pages/index/learning.vue +++ b/pages/index/learning.vue @@ -95,7 +95,8 @@ url: config.service.notReadNum, method: "GET", data: { - id: uni.getStorageSync('weapp_session_userInfo_data').accountId + id: uni.getStorageSync('weapp_session_userInfo_data').accountId, + projectId: uni.getStorageSync('buildingID').id, }, header: { 'content-type': 'application/json', diff --git a/pages/index/personal.vue b/pages/index/personal.vue index f043725..9305e07 100644 --- a/pages/index/personal.vue +++ b/pages/index/personal.vue @@ -122,7 +122,8 @@ url: config.service.notReadNum, method: "GET", data: { - id: uni.getStorageSync('weapp_session_userInfo_data').accountId + id: uni.getStorageSync('weapp_session_userInfo_data').accountId, + projectId: uni.getStorageSync('buildingID').id, }, header: { 'content-type': 'application/json',