riku
2025-09-18 c1d2051abc8ca88cd07f0d7c56c0dbf8165d5c33
src/api/fytz/noticeApi.js
@@ -12,7 +12,7 @@
    return $fytz
      .post(`notifications/history?${params}`, {
        ecNoticetype: type,
        ecNoticesubtype: subtype,
        ecNoticesubtype: subtype
      })
      .then((res) => res.data);
  },
@@ -26,8 +26,8 @@
        params: {
          userId: id,
          page: 1,
          per_page: 30,
        },
          per_page: 30
        }
      })
      .then((res) => res.data);
  },
@@ -66,8 +66,6 @@
  releaseNotice(notice) {
    notice.authorId = id;
    notice.authorName = name;
    return $fytz
      .post(`notifications/${id}/release2`, notice)
      .then((res) => res.data);
  },
    return $fytz.post(`notifications/${id}/release2`, notice).then((res) => res.data);
  }
};