doc: swagger add auth tag

This commit is contained in:
zhangwenjian
2020-07-18 14:24:59 +08:00
parent ea3408de84
commit b9d0318b45
16 changed files with 97 additions and 97 deletions
+1 -1
View File
@@ -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())