|
|
@ -472,6 +472,7 @@ func logout(context *gin.Context) {
|
|
|
|
// @Success 200 {string} string
|
|
|
|
// @Success 200 {string} string
|
|
|
|
// @Router /oauth2/resetRemainCount [get]
|
|
|
|
// @Router /oauth2/resetRemainCount [get]
|
|
|
|
// @X-EmptyLimit ["userName"]
|
|
|
|
// @X-EmptyLimit ["userName"]
|
|
|
|
|
|
|
|
// http://10.10.14.187/oauth2/resetRemainCount?userName=sys1
|
|
|
|
func resetRemainCount(context *gin.Context) {
|
|
|
|
func resetRemainCount(context *gin.Context) {
|
|
|
|
userName := context.Query("userName")
|
|
|
|
userName := context.Query("userName")
|
|
|
|
RedisUtil.DEL(Const.RemainCountRedisPrefix + userName)
|
|
|
|
RedisUtil.DEL(Const.RemainCountRedisPrefix + userName)
|
|
|
|