-
Notifications
You must be signed in to change notification settings - Fork 993
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
111 changed files
with
3,387 additions
and
745 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import client from "./internal/httpClient"; | ||
|
||
export function list() { | ||
return client.get("/backend/api/v1/media/video-category/index", {}); | ||
} | ||
|
||
export function create() { | ||
return client.get("/backend/api/v1/media/video-category/create", {}); | ||
} | ||
|
||
export function store(params: any) { | ||
return client.post("/backend/api/v1/media/video-category/create", params); | ||
} | ||
|
||
export function detail(id: number) { | ||
return client.get(`backend/api/v1/media/video-category/${id}`, {}); | ||
} | ||
|
||
export function update(id: number, params: any) { | ||
return client.put(`backend/api/v1/media/video-category/${id}`, params); | ||
} | ||
|
||
export function destroy(id: number) { | ||
return client.destroy(`backend/api/v1/media/video-category/${id}`); | ||
} | ||
|
||
export function dropSameClass(ids: number[]) { | ||
return client.put(`/backend/api/v1/media/video-category/change-sort`, { | ||
ids: ids, | ||
}); | ||
} | ||
|
||
export function dropDiffClass(id: number, parent_id: number, ids: number[]) { | ||
return client.put(`/backend/api/v1/media/video-category/change-parent`, { | ||
id: id, | ||
parent_id: parent_id, | ||
ids: ids, | ||
}); | ||
} | ||
|
||
export function videoUpdate(params: any) { | ||
return client.post(`backend/api/v1/media/videos/change-category`, params); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ const items = [ | |
null, | ||
null, | ||
null, | ||
"dashboard" | ||
"media.image.index" | ||
), | ||
getItem( | ||
"视频库", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.