Kaynağa Gözat

update

master
shenjiachi 1 hafta önce
ebeveyn
işleme
347b025c86
4 değiştirilmiş dosya ile 105 ekleme ve 1 silme
  1. +1
    -1
      app/hdl/comm/hdl_comm.go
  2. +39
    -0
      docs/docs.go
  3. +39
    -0
      docs/swagger.json
  4. +26
    -0
      docs/swagger.yaml

+ 1
- 1
app/hdl/comm/hdl_comm.go Dosyayı Görüntüle

@@ -24,7 +24,7 @@ import (
// @Accept json
// @Produce json
// @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Success 200 {object} "具体路由"
// @Success 200 {object} map[string]interface{} "具体路由"
// @Failure 400 {object} md.Response "具体错误"
// @Router /api/comm/getMenuList [POST]
func MenuList(c *gin.Context) {


+ 39
- 0
docs/docs.go Dosyayı Görüntüle

@@ -1333,6 +1333,45 @@ const docTemplate = `{
}
}
},
"/api/comm/getMenuList": {
"post": {
"description": "菜单栏列表(获取)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"权限列表"
],
"summary": "通用请求-权限列表-菜单栏列表(获取)",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
}
],
"responses": {
"200": {
"description": "具体路由",
"schema": {
"type": "object",
"additionalProperties": true
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/comm/getOssUrl": {
"post": {
"description": "上传许可链接(获取)",


+ 39
- 0
docs/swagger.json Dosyayı Görüntüle

@@ -1326,6 +1326,45 @@
}
}
},
"/api/comm/getMenuList": {
"post": {
"description": "菜单栏列表(获取)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"权限列表"
],
"summary": "通用请求-权限列表-菜单栏列表(获取)",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
}
],
"responses": {
"200": {
"description": "具体路由",
"schema": {
"type": "object",
"additionalProperties": true
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/comm/getOssUrl": {
"post": {
"description": "上传许可链接(获取)",


+ 26
- 0
docs/swagger.yaml Dosyayı Görüntüle

@@ -5944,6 +5944,32 @@ paths:
summary: 通用请求-获取管理员信息
tags:
- 通用请求
/api/comm/getMenuList:
post:
consumes:
- application/json
description: 菜单栏列表(获取)
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
produces:
- application/json
responses:
"200":
description: 具体路由
schema:
additionalProperties: true
type: object
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 通用请求-权限列表-菜单栏列表(获取)
tags:
- 权限列表
/api/comm/getOssUrl:
post:
consumes:


Yükleniyor…
İptal
Kaydet