Commit 8edf95d5 authored by chenqikuai's avatar chenqikuai

fix

parent e0137aa3
......@@ -90,14 +90,19 @@ export function getCopyRight(id: number) {
}
export function putCopyRight(id: number, params: any) {
return $ajax({
type: "put",
url: "/api/copyright",
params: {
id,
...params
return $ajax(
{
type: "put",
url: "/api/copyright",
params: {
id,
...params,
},
},
});
{
toast: true,
}
);
}
export function postCopyRight(params: any) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment