riku
2024-10-15 e38ea524ec4107ed7f8b1d7491a4177632dd3402
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);
  }
};