Skip to content

Commit 07c05c3

Browse files
author
Bigsk
committed
Audit Front Doc Update
1 parent f33a54c commit 07c05c3

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

document/front_design/README.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
##### Json Args:
193193
###### `code` `int` `response code`
194194

195-
### Audit Page (Writing)
195+
### Audit Page
196196
#### The audit page use the path "/admin/audit/song" for song audit
197197
#### Only Admin can request this interface
198198
#### Get list of songs that songed by users
@@ -218,12 +218,39 @@
218218
###### `url` `string` `the media url of this song (source platform or system cache)`
219219
#### Request for audit operate:
220220
#### WebApi Interface Detail:
221-
##### Path: `/api/admin/audit`
221+
##### Path: `/api/admin/listaudit`
222222
##### Method: `POST`
223223
##### Args:
224224
###### `token` `string` `user(admin operator) token`
225225
###### `sid` `int` `id of this song(v.) event`
226-
###### `operate` `string` `pass, abort and ignore`
226+
###### `operate` `string` `pass, abort or ignore`
227+
##### Response Format: `Json`
228+
##### Json Args:
229+
###### `code` `int` `response code`
230+
#### The audit page use the path "/admin/audit/auth" for real name auth audit
231+
#### Only Admin can request this interface
232+
#### Get list of user's real name auth.
233+
#### WebApi Interface Detail:
234+
##### Path: `/api/auditlist/real`
235+
##### Method: `POST`
236+
##### Args:
237+
###### `token` `string` `user(admin operator) token`
238+
##### Response Format: `Json`
239+
##### Json Args:
240+
###### `code` `int` `response code`
241+
###### `content` `list` `list of all real name auth requests`
242+
##### List of real name auth requests (content):
243+
###### `uid` `int` `id of the user`
244+
###### `img` `string` `the url of the real name auth img`
245+
###### `name` `string` `real name of the user`
246+
#### Request for audit operate:
247+
#### WebApi Interface Detail:
248+
##### Path: `/api/admin/realaudit`
249+
##### Method: `POST`
250+
##### Argv:
251+
###### `token` `string` `user(admin operator) token`
252+
###### `uid` `int` `id of the user that you audit`
253+
###### `operate` `string` `pass or abort`
227254
##### Response Format: `Json`
228255
##### Json Args:
229256
###### `code` `int` `response code`

0 commit comments

Comments
 (0)