gin-vue-admin 2.0代码重构
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import service from '@/utils/request'
|
||||
|
||||
// @Tags jwt
|
||||
// @Summary jwt加入黑名单
|
||||
// @Security ApiKeyAuth
|
||||
// @accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"拉黑成功"}"
|
||||
// @Router /jwt/jsonInBlacklist [post]
|
||||
|
||||
export const jsonInBlacklist = () => {
|
||||
return service({
|
||||
url: "/jwt/jsonInBlacklist",
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user