Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
Front Design For GeSong System
All template use WebApi to deal the operate
Recommand Vue.js, but you still can use jQuery(Ajax) :D
10000
Success
Successfully requested
20000
No enough times
No enough times to song
30000
Forbidden
Wrong Access (For User)
The index page use the root path ("/"),
Server will response a 301 code to jump to search page ("/search")
The search page use the path "/search"
A user have to log in to use the search function
keyword
string
keyword of the song
content
list
list of songs
List of Songs Args(content):
artists
list
list of artists
album
dict
album of this song
url
string
the media url of this song (source platform or system cache)
id
int
artist id(platform)
name
string
name of this artist
cover
string
image url of this aritist
id
int
album id(platform)
name
string
name of this album
cover
string
image url of this album
The history page use the path "/history"
Anybody can directly get the history of songs
content
list
list of history songs
List of Songs Args(content):
artists
list
list of artists
album
dict
album of this song
url
string
the media url of this song (system cache)
id
int
artist id(platform)
name
string
name of this artist
cover
string
image url of this aritist
id
int
album id(platform)
name
string
name of this album
cover
string
image url of this album
The list page use the path "/list"
Anybody can directly get the list of whitelist and blacklist
content
dict
dict of list, included whitelist and blacklist
white
list
songs list of whitelist
black
list
songs list of blacklist
artists
list
list of artists
album
dict
album of this song
id
int
artist id(platform)
name
string
name of this artist
cover
string
image url of this aritist
id
int
album id(platform)
name
string
name of this album
cover
string
image url of this album
The confirm page use the path "/confirm"
This page only use for the twice confirm
Located from the search page
Read the parameter from url on front code (Javascript)
Then use the id and platform id to requests the song detail
platform
int
id of the platform
content
list
list of songs
List of Songs Args(content):
artists
list
list of artists
album
dict
album of this song
url
string
the media url of this song (source platform or system cache)
id
int
artist id(platform)
name
string
name of this artist
cover
string
image url of this aritist
id
int
album id(platform)
name
string
name of this album
cover
string
image url of this album
After user clicking the confirm button, send request to this interface
platform
int
id of the platform
You can’t perform that action at this time.