张延森 3 years ago
parent
commit
2f85bec448
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/pages/index/buildingDetail/components/BasicInfo/index.jsx

+ 1
- 1
src/pages/index/buildingDetail/components/BasicInfo/index.jsx View File

24
   const handleSubscribeMessage = () => {
24
   const handleSubscribeMessage = () => {
25
     const messageType = MESSAGE_TYPE.ACTIVITY 
25
     const messageType = MESSAGE_TYPE.ACTIVITY 
26
     showSubscribeMessage(messageType).then(() => {
26
     showSubscribeMessage(messageType).then(() => {
27
-      fetch({ url: `${API_SUBSCRIBE_MESSAGE}`, payload: { messageType }, showToast: false })
27
+      fetch({ url: `${API_SUBSCRIBE_MESSAGE}`, method: 'POST', payload: { messageType, buildingId }, showToast: false })
28
     })
28
     })
29
   }
29
   }
30
 
30