Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
source-trace-manage
Commits
4ea05813
Commit
4ea05813
authored
Aug 02, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口
parent
d5b6ddeb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
copyrightService.ts
src/service/copyrightService.ts
+50
-0
No files found.
src/service/copyrightService.ts
View file @
4ea05813
...
...
@@ -78,3 +78,53 @@ export function copyrightUploadFile(file: File) {
trace_id
:
string
;
}
>
;
}
export
function
getCopyRight
(
id
:
number
)
{
return
$ajax
({
type
:
"get"
,
url
:
"/api/copyright"
,
params
:
{
id
,
},
});
}
export
function
putCopyRight
(
id
:
number
)
{
return
$ajax
({
type
:
"put"
,
url
:
"/api/copyright"
,
params
:
{
id
,
},
});
}
export
function
postCopyRight
(
id
:
number
)
{
return
$ajax
({
type
:
"post"
,
url
:
"/api/copyright"
,
params
:
{
id
,
},
});
}
export
function
getCopyRights
(
id
:
number
)
{
return
$ajax
({
type
:
"get"
,
url
:
"/api/copyrights"
,
params
:
{
id
,
},
});
}
export
function
deleteCopyRights
(
ids
:
number
[])
{
return
$ajax
({
type
:
"delete"
,
url
:
"/api/copyright"
,
params
:
{
ids
,
},
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment