formatted
This commit is contained in:
@ -1,12 +1,14 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
export const listNews = (params) => request({
|
||||
export const listNews = (params) =>
|
||||
request({
|
||||
url: "/app/news/list",
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
params,
|
||||
});
|
||||
|
||||
export const getNewsInfo = (id) => request({
|
||||
export const getNewsInfo = (id) =>
|
||||
request({
|
||||
url: `/app/news/${id}`,
|
||||
method: "GET",
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user