From 6ec3ef8fe5b58d55230bdcd5828611d3b59d684f Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Thu, 9 Jun 2022 14:01:43 +0800 Subject: [PATCH] tijiao --- pages/index/customer.vue | 3 ++- pages/index/learning.vue | 3 ++- pages/index/personal.vue | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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',