Skip to content

Commit 43d0c29

Browse files
authored
feature:swagger 接口请求方式优化 (flipped-aurora#1854)
1 parent 0956edd commit 43d0c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/api/v1/system/sys_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (s *SystemApiApi) SyncApi(c *gin.Context) {
7474
// @accept application/json
7575
// @Produce application/json
7676
// @Success 200 {object} response.Response{msg=string} "获取API分组"
77-
// @Router /api/getApiGroups [post]
77+
// @Router /api/getApiGroups [get]
7878
func (s *SystemApiApi) GetApiGroups(c *gin.Context) {
7979
groups, apiGroupMap, err := apiService.GetApiGroups()
8080
if err != nil {

0 commit comments

Comments
 (0)