feat: swagger接口文档更新1.0.8改TokenAuth
This commit is contained in:
@@ -42,7 +42,7 @@ type SysConfigController struct {
|
||||
// @Param pageNum query number true "pageNum" default(1)
|
||||
// @Param pageSize query number true "pageSize" default(10)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Config Information List
|
||||
// @Description Config Information List
|
||||
// @Router /system/config/list [get]
|
||||
|
||||
@@ -40,7 +40,7 @@ type SysDeptController struct {
|
||||
// @Param deptName query string false "deptName"
|
||||
// @Param status query string false "status" Enums(0, 1)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Dept Information List
|
||||
// @Description Dept Information List
|
||||
// @Router /system/dept/list [get]
|
||||
|
||||
@@ -43,7 +43,7 @@ type SysDictDataController struct {
|
||||
// @Param pageNum query number true "pageNum" default(1)
|
||||
// @Param pageSize query number true "pageSize" default(10)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Dictionary Data List
|
||||
// @Description Dictionary Data List
|
||||
// @Router /system/dict/data/list [get]
|
||||
|
||||
@@ -42,7 +42,7 @@ type SysDictTypeController struct {
|
||||
// @Param pageNum query number true "pageNum" default(1)
|
||||
// @Param pageSize query number true "pageSize" default(10)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Dictionary Type List
|
||||
// @Description Dictionary Type List
|
||||
// @Router /system/dict/type/list [get]
|
||||
|
||||
@@ -45,7 +45,7 @@ type SysLogLoginController struct {
|
||||
// @Param pageNum query number true "pageNum" default(1)
|
||||
// @Param pageSize query number true "pageSize" default(10)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary System Login Log List
|
||||
// @Description System Login Log List
|
||||
// @Router /system/log/login/list [get]
|
||||
|
||||
@@ -42,7 +42,7 @@ type SysLogOperateController struct {
|
||||
// @Param pageNum query number true "pageNum" default(1)
|
||||
// @Param pageSize query number true "pageSize" default(10)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary System Operation Log List
|
||||
// @Description System Operation Log List
|
||||
// @Router /system/log/operate/list [get]
|
||||
|
||||
@@ -39,7 +39,7 @@ type SysMenuController struct {
|
||||
// @Param menuName query string false "menuName"
|
||||
// @Param status query string false "status" Enums(0, 1)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Menu Information List
|
||||
// @Description Menu Information List
|
||||
// @Router /system/menu/list [get]
|
||||
|
||||
@@ -43,7 +43,7 @@ type SysPostController struct {
|
||||
// @Param pageNum query number true "pageNum" default(1)
|
||||
// @Param pageSize query number true "pageSize" default(10)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Post Information List
|
||||
// @Description Post Information List
|
||||
// @Router /system/post/list [get]
|
||||
|
||||
@@ -49,7 +49,7 @@ type SysProfileController struct {
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Personal Information
|
||||
// @Description Personal Information
|
||||
// @Router /system/user/profile [get]
|
||||
@@ -101,7 +101,7 @@ func (s *SysProfileController) Info(c *gin.Context) {
|
||||
// @Produce json
|
||||
// @Param data body object true "Request Param"
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Personal Information Modification
|
||||
// @Description Personal Information Modification
|
||||
// @Router /system/user/profile [put]
|
||||
@@ -208,7 +208,7 @@ func (s *SysProfileController) UpdateProfile(c *gin.Context) {
|
||||
// @Produce json
|
||||
// @Param data body object true "Request Param"
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Personal Reset Password
|
||||
// @Description Personal Reset Password
|
||||
// @Router /system/user/profile/updatePwd [put]
|
||||
@@ -284,7 +284,7 @@ func (s *SysProfileController) UpdatePwd(c *gin.Context) {
|
||||
// @Produce json
|
||||
// @Param file formData file true "The file to upload."
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Personal avatar upload
|
||||
// @Description Personal avatar upload
|
||||
// @Router /system/user/profile/avatar [post]
|
||||
|
||||
@@ -49,7 +49,7 @@ type SysRoleController struct {
|
||||
// @Param pageNum query number true "pageNum" default(1)
|
||||
// @Param pageSize query number true "pageSize" default(10)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary Role Information List
|
||||
// @Description Role Information List
|
||||
// @Router /system/role/list [get]
|
||||
|
||||
@@ -58,7 +58,7 @@ type SysUserController struct {
|
||||
// @Param pageNum query number true "pageNum" default(1)
|
||||
// @Param pageSize query number true "pageSize" default(10)
|
||||
// @Success 200 {object} object "Response Results"
|
||||
// @Security ApiKeyAuth
|
||||
// @Security TokenAuth
|
||||
// @Summary User Information List
|
||||
// @Description User Information List
|
||||
// @Router /system/user/list [get]
|
||||
|
||||
Reference in New Issue
Block a user