From 1e1d4809e3063fea627cf731f63f75f82a267060 Mon Sep 17 00:00:00 2001 From: Bigsk Date: Sun, 6 Mar 2022 16:59:04 +0800 Subject: [PATCH] Fixed some small problems --- document/front_design/README.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/document/front_design/README.md b/document/front_design/README.md index 2fa2246..92534dc 100644 --- a/document/front_design/README.md +++ b/document/front_design/README.md @@ -38,6 +38,7 @@ ##### Method: `POST` ##### Args: ###### `keyword` `string` `keyword of the song` +##### Cookie: ###### `token` `string` `user token` ##### Response Format: `Json` ##### Json Args: @@ -130,6 +131,7 @@ ##### Args: ###### `platform` `int` `id of the platform` ###### `id` `int` `id of the song` +##### Cookie: ###### `token` `string` `user token` ##### Response Format: `Json` ##### Json Args: @@ -158,6 +160,7 @@ ###### `platform` `int` `id of the platform` ###### `id` `int` `id of the song` ###### `date` `string` `YYYY-MM-DD` +##### Cookie: ###### `token` `string` `user token` ##### Response Format: `Json` ##### Json Args: @@ -171,8 +174,8 @@ #### Get list of user: #### WebApi Interface Detail: ##### Path: `/api/userlist` -##### Method: `POST` -##### Args: +##### Method: `GET` +##### Cookie: ###### `token` `string` `user(admin operator) token` ##### Response Format: `Json` ##### Json Args: @@ -200,8 +203,8 @@ #### Get list of songs that songed by users #### WebApi Interface Detail: ##### Path: `/api/auditlist/song` -##### Method: `POST` -##### Args: +##### Method: `GET` +##### Cookie: ###### `token` `string` `user(admin operator) token` ##### Response Format: `Json` ##### Json Args: @@ -234,8 +237,8 @@ #### Get list of user's real name auth. #### WebApi Interface Detail: ##### Path: `/api/auditlist/real` -##### Method: `POST` -##### Args: +##### Method: `GET` +##### Cookie: ###### `token` `string` `user(admin operator) token` ##### Response Format: `Json` ##### Json Args: @@ -250,9 +253,10 @@ ##### Path: `/api/admin/realaudit` ##### Method: `POST` ##### Argv: -###### `token` `string` `user(admin operator) token` ###### `uid` `int` `id of the user that you audit` ###### `operate` `string` `pass or abort` +##### Cookie: +###### `token` `string` `user(admin operator) token` ##### Response Format: `Json` ##### Json Args: ###### `code` `int` `response code` @@ -267,9 +271,10 @@ ##### Path: `/api/admin/list` ##### Method: `POST` ##### Args: -###### `token` `string` `user(admin operator) token` ###### `sid` `int` `id of this song(v.) event` ###### `operate` `string` `white, black, remove` +##### Cookie: +###### `token` `string` `user(admin operator) token` ##### Response Format: `Json` ##### Json Args: ###### `code` `int` `response code` @@ -292,9 +297,10 @@ ##### Path: `/api/admin/system` ##### Method: `POST` ##### Args: -###### `token` `string` `user(admin operator) token` ###### `OPTION` `TYPE` `NOTICE` ###### ```See the detail in options``` +##### Cookie: +###### `token` `string` `user(admin operator) token` ##### Response Format: `Json` ##### Json Args: ###### `code` `int` `response code`