Commit 6eb1de23 authored by haoyanbin's avatar haoyanbin

swag

parent edcfa60d
......@@ -9,10 +9,10 @@ import (
type OrgAdGetPageReq struct {
dto.Pagination `search:"-"`
adName string `form:"adName" search:"type:contains;column:ad_name;table:org_ad"`
StartTime string `form:"startTime" search:"type:gte;column:created_at;table:org_ad" comment:"开始时间"`
EndTime string `form:"endTime" search:"type:lte;column:created_at;table:org_ad" comment:"结束时间"`
Status string `form:"status" search:"type:exact;column:status;table:org_ad"`
AdName string `form:"adName" search:"type:contains;column:ad_name;table:org_ad"` //广告名称
StartTime string `form:"startTime" search:"type:gte;column:created_at;table:org_ad" comment:"开始时间"` //开始时间
EndTime string `form:"endTime" search:"type:lte;column:created_at;table:org_ad" comment:"结束时间"` //结束时间
Status string `form:"status" search:"type:exact;column:status;table:org_ad"` //广告类型
}
type OrgAdOrder struct {
......
......@@ -9,10 +9,10 @@ import (
type OrgNewsGetPageReq struct {
dto.Pagination `search:"-"`
NewsName string `form:"newsName" search:"type:contains;column:news_name;table:org_news"`
StartTime string `form:"startTime" search:"type:gte;column:created_at;table:org_news" comment:"开始时间"`
EndTime string `form:"endTime" search:"type:lte;column:created_at;table:org_news" comment:"结束时间"`
Status string `form:"status" search:"type:exact;column:status;table:org_news"`
NewsName string `form:"newsName" search:"type:contains;column:news_name;table:org_news"` //新闻名称
StartTime string `form:"startTime" search:"type:gte;column:created_at;table:org_news" comment:"开始时间"` //开始时间
EndTime string `form:"endTime" search:"type:lte;column:created_at;table:org_news" comment:"结束时间"` //结束时间
Status string `form:"status" search:"type:exact;column:status;table:org_news"` //新闻状态
}
type OrgNewsOrder struct {
......
......@@ -6445,7 +6445,12 @@ var doc = `{
"dto.OrgAdGetPageReq": {
"type": "object",
"properties": {
"adName": {
"description": "广告名称",
"type": "string"
},
"endTime": {
"description": "结束时间",
"type": "string"
},
"pageIndex": {
......@@ -6455,9 +6460,11 @@ var doc = `{
"type": "integer"
},
"startTime": {
"description": "开始时间",
"type": "string"
},
"status": {
"description": "广告类型",
"type": "string"
}
}
......@@ -7256,9 +7263,11 @@ var doc = `{
"type": "object",
"properties": {
"endTime": {
"description": "结束时间",
"type": "string"
},
"newsName": {
"description": "新闻名称",
"type": "string"
},
"pageIndex": {
......@@ -7268,9 +7277,11 @@ var doc = `{
"type": "integer"
},
"startTime": {
"description": "开始时间",
"type": "string"
},
"status": {
"description": "新闻状态",
"type": "string"
}
}
......@@ -8914,21 +8925,12 @@ var doc = `{
"models.SysDept": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysDept"
}
},
"createBy": {
"type": "integer"
},
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"deptId": {
"description": "部门编码",
"type": "integer"
......@@ -8948,9 +8950,6 @@ var doc = `{
"description": "负责人",
"type": "string"
},
"params": {
"type": "string"
},
"parentId": {
"description": "上级部门",
"type": "integer"
......@@ -8981,9 +8980,21 @@ var doc = `{
"action": {
"type": "string"
},
"apis": {
"type": "array",
"items": {
"type": "integer"
}
},
"breadcrumb": {
"type": "string"
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysMenu"
}
},
"component": {
"type": "string"
},
......@@ -8993,12 +9004,18 @@ var doc = `{
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"icon": {
"type": "string"
},
"isFrame": {
"type": "string"
},
"is_select": {
"type": "boolean"
},
"menuId": {
"type": "integer"
},
......@@ -9011,6 +9028,9 @@ var doc = `{
"noCache": {
"type": "boolean"
},
"params": {
"type": "string"
},
"parentId": {
"type": "integer"
},
......@@ -9023,6 +9043,9 @@ var doc = `{
"permission": {
"type": "string"
},
"roleId": {
"type": "integer"
},
"sort": {
"type": "integer"
},
......
......@@ -6428,7 +6428,12 @@
"dto.OrgAdGetPageReq": {
"type": "object",
"properties": {
"adName": {
"description": "广告名称",
"type": "string"
},
"endTime": {
"description": "结束时间",
"type": "string"
},
"pageIndex": {
......@@ -6438,9 +6443,11 @@
"type": "integer"
},
"startTime": {
"description": "开始时间",
"type": "string"
},
"status": {
"description": "广告类型",
"type": "string"
}
}
......@@ -7239,9 +7246,11 @@
"type": "object",
"properties": {
"endTime": {
"description": "结束时间",
"type": "string"
},
"newsName": {
"description": "新闻名称",
"type": "string"
},
"pageIndex": {
......@@ -7251,9 +7260,11 @@
"type": "integer"
},
"startTime": {
"description": "开始时间",
"type": "string"
},
"status": {
"description": "新闻状态",
"type": "string"
}
}
......@@ -8897,21 +8908,12 @@
"models.SysDept": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysDept"
}
},
"createBy": {
"type": "integer"
},
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"deptId": {
"description": "部门编码",
"type": "integer"
......@@ -8931,9 +8933,6 @@
"description": "负责人",
"type": "string"
},
"params": {
"type": "string"
},
"parentId": {
"description": "上级部门",
"type": "integer"
......@@ -8964,9 +8963,21 @@
"action": {
"type": "string"
},
"apis": {
"type": "array",
"items": {
"type": "integer"
}
},
"breadcrumb": {
"type": "string"
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/models.SysMenu"
}
},
"component": {
"type": "string"
},
......@@ -8976,12 +8987,18 @@
"createdAt": {
"type": "string"
},
"dataScope": {
"type": "string"
},
"icon": {
"type": "string"
},
"isFrame": {
"type": "string"
},
"is_select": {
"type": "boolean"
},
"menuId": {
"type": "integer"
},
......@@ -8994,6 +9011,9 @@
"noCache": {
"type": "boolean"
},
"params": {
"type": "string"
},
"parentId": {
"type": "integer"
},
......@@ -9006,6 +9026,9 @@
"permission": {
"type": "string"
},
"roleId": {
"type": "integer"
},
"sort": {
"type": "integer"
},
......
......@@ -8,15 +8,21 @@ definitions:
type: object
dto.OrgAdGetPageReq:
properties:
adName:
description: 广告名称
type: string
endTime:
description: 结束时间
type: string
pageIndex:
type: integer
pageSize:
type: integer
startTime:
description: 开始时间
type: string
status:
description: 广告类型
type: string
type: object
dto.OrgAdInsertReq:
......@@ -547,16 +553,20 @@ definitions:
dto.OrgNewsGetPageReq:
properties:
endTime:
description: 结束时间
type: string
newsName:
description: 新闻名称
type: string
pageIndex:
type: integer
pageSize:
type: integer
startTime:
description: 开始时间
type: string
status:
description: 新闻状态
type: string
type: object
dto.OrgNewsInsertReq:
......@@ -1664,16 +1674,10 @@ definitions:
type: object
models.SysDept:
properties:
children:
items:
$ref: '#/definitions/models.SysDept'
type: array
createBy:
type: integer
createdAt:
type: string
dataScope:
type: string
deptId:
description: 部门编码
type: integer
......@@ -1688,8 +1692,6 @@ definitions:
leader:
description: 负责人
type: string
params:
type: string
parentId:
description: 上级部门
type: integer
......@@ -1711,16 +1713,28 @@ definitions:
properties:
action:
type: string
apis:
items:
type: integer
type: array
breadcrumb:
type: string
children:
items:
$ref: '#/definitions/models.SysMenu'
type: array
component:
type: string
createBy:
type: integer
createdAt:
type: string
dataScope:
type: string
icon:
type: string
is_select:
type: boolean
isFrame:
type: string
menuId:
......@@ -1731,6 +1745,8 @@ definitions:
type: string
noCache:
type: boolean
params:
type: string
parentId:
type: integer
path:
......@@ -1739,6 +1755,8 @@ definitions:
type: string
permission:
type: string
roleId:
type: integer
sort:
type: integer
sysApi:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment