This commit is contained in:
Akkia 2022-05-18 11:16:14 +08:00
parent 73df5fa0de
commit fcd0ccae56
No known key found for this signature in database
GPG Key ID: DABE9A4AB2DD7EF3

View File

@ -47,7 +47,7 @@ func (v *apiV1) serverList(c *gin.Context) {
// serverDetails 获取服务器信息 不传入Query参数则获取全部 // serverDetails 获取服务器信息 不传入Query参数则获取全部
// header: Authorization: Token // header: Authorization: Token
// query: idList (服务器ID逗号分隔优先级高于tag查询) // query: id (服务器ID逗号分隔优先级高于tag查询)
// query: tag (服务器分组) // query: tag (服务器分组)
func (v *apiV1) serverDetails(c *gin.Context) { func (v *apiV1) serverDetails(c *gin.Context) {
token, _ := c.Cookie("Authorization") token, _ := c.Cookie("Authorization")