Commit 8edf95d5 authored by chenqikuai's avatar chenqikuai

fix

parent e0137aa3
...@@ -90,14 +90,19 @@ export function getCopyRight(id: number) { ...@@ -90,14 +90,19 @@ export function getCopyRight(id: number) {
} }
export function putCopyRight(id: number, params: any) { export function putCopyRight(id: number, params: any) {
return $ajax({ return $ajax(
{
type: "put", type: "put",
url: "/api/copyright", url: "/api/copyright",
params: { params: {
id, id,
...params ...params,
}, },
}); },
{
toast: true,
}
);
} }
export function postCopyRight(params: any) { 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