article.js 555 B

123456789101112131415161718
  1. "use strict";
  2. const sheep_request_index = require("../../request/index.js");
  3. const ArticleApi = {
  4. // 获得文章详情
  5. getArticle: (id, title) => {
  6. return sheep_request_index.request({
  7. url: "/promotion/article/get",
  8. method: "GET",
  9. params: { id, title }
  10. });
  11. }
  12. };
  13. const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  14. __proto__: null,
  15. default: ArticleApi
  16. }, Symbol.toStringTag, { value: "Module" }));
  17. exports.ArticleApi = ArticleApi;
  18. exports.__vite_glob_0_23 = __vite_glob_0_23;