张延森 3 年之前
父節點
當前提交
2f85bec448
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/pages/index/buildingDetail/components/BasicInfo/index.jsx

+ 1
- 1
src/pages/index/buildingDetail/components/BasicInfo/index.jsx 查看文件

@@ -24,7 +24,7 @@ export default function BasicInfo (props) {
24 24
   const handleSubscribeMessage = () => {
25 25
     const messageType = MESSAGE_TYPE.ACTIVITY 
26 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