doc: swagger add auth tag
This commit is contained in:
1 parent
ea3408de84
commit
b9d0318b45
16 files changed
+97
-97
No files matched your search
+1
-1
@@ -122,7 +122,7 @@ func LoginLogToDB(c *gin.Context, status string, msg string, username string) {
|
||||
// @Product application/json
|
||||
// @Success 200 {string} string "{"code": 200, "msg": "成功退出系统" }"
|
||||
// @Router /logout [post]
|
||||
// @Security
|
||||
// @Security Bearer
|
||||
func LogOut(c *gin.Context) {
|
||||
var loginlog models.LoginLog
|
||||
ua := user_agent.New(c.Request.UserAgent())
|
||||
|
||||
Reference in new issue
Block a user