|
|
|
@ -141,6 +141,12 @@ func roleIdLimitIsLegal(c *gin.Context, interName string, n int) (bool, ResultSt
|
|
|
|
|
if !Reply.Success {
|
|
|
|
|
resultStruct.HttpType = httpType
|
|
|
|
|
resultStruct.Message = Reply.Message
|
|
|
|
|
|
|
|
|
|
//清cookie
|
|
|
|
|
c.SetCookie("person_id", "", -1, "/", "", false, true)
|
|
|
|
|
c.SetCookie("identity_id", "", -1, "/", "", false, true)
|
|
|
|
|
c.SetCookie("token", "", -1, "/", "", false, true)
|
|
|
|
|
|
|
|
|
|
return false, resultStruct
|
|
|
|
|
}
|
|
|
|
|
return true, resultStruct
|
|
|
|
|