feat: swagger接口文档更新1.0.8改TokenAuth
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user