1.统一接口出参总条数为total;
This commit is contained in:
parent
171ac9bb5e
commit
0bdbfeb908
|
@ -286,7 +286,7 @@ type ErpCommodityListReq struct {
|
||||||
}
|
}
|
||||||
type ErpCommodityListResp struct {
|
type ErpCommodityListResp struct {
|
||||||
List []ErpCommodity `json:"list"`
|
List []ErpCommodity `json:"list"`
|
||||||
Total int `json:"count"` // 数据总条数
|
Total int `json:"total"` // 数据总条数
|
||||||
PageIndex int `json:"pageIndex"` // 页码
|
PageIndex int `json:"pageIndex"` // 页码
|
||||||
PageSize int `json:"pageSize"` // 每页展示条数
|
PageSize int `json:"pageSize"` // 每页展示条数
|
||||||
ExportUrl string `json:"export_url"` // 文件路径
|
ExportUrl string `json:"export_url"` // 文件路径
|
||||||
|
@ -1197,7 +1197,7 @@ type ErpStockListReq struct {
|
||||||
|
|
||||||
type ErpStockListResp struct {
|
type ErpStockListResp struct {
|
||||||
List []ErpStock `json:"list"`
|
List []ErpStock `json:"list"`
|
||||||
Total int `json:"count"` // 数据总条数
|
Total int `json:"total"` // 数据总条数
|
||||||
PageIndex int `json:"pageIndex"` // 页码
|
PageIndex int `json:"pageIndex"` // 页码
|
||||||
PageSize int `json:"pageSize"` // 每页展示条数
|
PageSize int `json:"pageSize"` // 每页展示条数
|
||||||
ExportUrl string `json:"export_url"`
|
ExportUrl string `json:"export_url"`
|
||||||
|
@ -1662,7 +1662,7 @@ type ErpStockCommodityListReq struct {
|
||||||
// ErpStockCommodityListResp 库存详情接口响应参数
|
// ErpStockCommodityListResp 库存详情接口响应参数
|
||||||
type ErpStockCommodityListResp struct {
|
type ErpStockCommodityListResp struct {
|
||||||
List []ErpStockCommodity `json:"list"`
|
List []ErpStockCommodity `json:"list"`
|
||||||
Total int `json:"count"` // 数据总条数
|
Total int `json:"total"` // 数据总条数
|
||||||
PageIndex int `json:"pageIndex"` // 页码
|
PageIndex int `json:"pageIndex"` // 页码
|
||||||
PageSize int `json:"pageSize"` // 每页展示条数
|
PageSize int `json:"pageSize"` // 每页展示条数
|
||||||
TotalWholesalePrice int `json:"total_wholesale_price"` // 入库采购价之和
|
TotalWholesalePrice int `json:"total_wholesale_price"` // 入库采购价之和
|
||||||
|
|
|
@ -2580,7 +2580,7 @@ type AssistantInviteMemberReportReq struct {
|
||||||
|
|
||||||
type AssistantInviteMemberReportListResp struct {
|
type AssistantInviteMemberReportListResp struct {
|
||||||
List []InviteMemberReport `json:"list"`
|
List []InviteMemberReport `json:"list"`
|
||||||
Total int64 `json:"count"` // 数据总条数
|
Total int64 `json:"total"` // 数据总条数
|
||||||
PageIndex int `json:"pageIndex"` // 页码
|
PageIndex int `json:"pageIndex"` // 页码
|
||||||
PageSize int `json:"pageSize"` // 每页展示条数
|
PageSize int `json:"pageSize"` // 每页展示条数
|
||||||
ExportUrl string `json:"export_url"` // 导出excel地址
|
ExportUrl string `json:"export_url"` // 导出excel地址
|
||||||
|
|
32
docs/docs.go
32
docs/docs.go
|
@ -4902,10 +4902,6 @@ const docTemplate = `{
|
||||||
"models.AssistantInviteMemberReportListResp": {
|
"models.AssistantInviteMemberReportListResp": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"count": {
|
|
||||||
"description": "数据总条数",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"export_url": {
|
"export_url": {
|
||||||
"description": "导出excel地址",
|
"description": "导出excel地址",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -4923,6 +4919,10 @@ const docTemplate = `{
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"description": "每页展示条数",
|
"description": "每页展示条数",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"total": {
|
||||||
|
"description": "数据总条数",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -5899,10 +5899,6 @@ const docTemplate = `{
|
||||||
"models.ErpCommodityListResp": {
|
"models.ErpCommodityListResp": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"count": {
|
|
||||||
"description": "数据总条数",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"export_url": {
|
"export_url": {
|
||||||
"description": "文件路径",
|
"description": "文件路径",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -5920,6 +5916,10 @@ const docTemplate = `{
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"description": "每页展示条数",
|
"description": "每页展示条数",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"total": {
|
||||||
|
"description": "数据总条数",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -7119,10 +7119,6 @@ const docTemplate = `{
|
||||||
"models.ErpStockCommodityListResp": {
|
"models.ErpStockCommodityListResp": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"count": {
|
|
||||||
"description": "数据总条数",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"export_url": {
|
"export_url": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -7140,6 +7136,10 @@ const docTemplate = `{
|
||||||
"description": "每页展示条数",
|
"description": "每页展示条数",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"total": {
|
||||||
|
"description": "数据总条数",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"total_staff_price": {
|
"total_staff_price": {
|
||||||
"description": "入库员工成本价之和",
|
"description": "入库员工成本价之和",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
@ -7186,10 +7186,6 @@ const docTemplate = `{
|
||||||
"models.ErpStockListResp": {
|
"models.ErpStockListResp": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"count": {
|
|
||||||
"description": "数据总条数",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"export_url": {
|
"export_url": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -7206,6 +7202,10 @@ const docTemplate = `{
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"description": "每页展示条数",
|
"description": "每页展示条数",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"total": {
|
||||||
|
"description": "数据总条数",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -4891,10 +4891,6 @@
|
||||||
"models.AssistantInviteMemberReportListResp": {
|
"models.AssistantInviteMemberReportListResp": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"count": {
|
|
||||||
"description": "数据总条数",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"export_url": {
|
"export_url": {
|
||||||
"description": "导出excel地址",
|
"description": "导出excel地址",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -4912,6 +4908,10 @@
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"description": "每页展示条数",
|
"description": "每页展示条数",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"total": {
|
||||||
|
"description": "数据总条数",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -5888,10 +5888,6 @@
|
||||||
"models.ErpCommodityListResp": {
|
"models.ErpCommodityListResp": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"count": {
|
|
||||||
"description": "数据总条数",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"export_url": {
|
"export_url": {
|
||||||
"description": "文件路径",
|
"description": "文件路径",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -5909,6 +5905,10 @@
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"description": "每页展示条数",
|
"description": "每页展示条数",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"total": {
|
||||||
|
"description": "数据总条数",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -7108,10 +7108,6 @@
|
||||||
"models.ErpStockCommodityListResp": {
|
"models.ErpStockCommodityListResp": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"count": {
|
|
||||||
"description": "数据总条数",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"export_url": {
|
"export_url": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -7129,6 +7125,10 @@
|
||||||
"description": "每页展示条数",
|
"description": "每页展示条数",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"total": {
|
||||||
|
"description": "数据总条数",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"total_staff_price": {
|
"total_staff_price": {
|
||||||
"description": "入库员工成本价之和",
|
"description": "入库员工成本价之和",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
@ -7175,10 +7175,6 @@
|
||||||
"models.ErpStockListResp": {
|
"models.ErpStockListResp": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"count": {
|
|
||||||
"description": "数据总条数",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"export_url": {
|
"export_url": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -7195,6 +7191,10 @@
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"description": "每页展示条数",
|
"description": "每页展示条数",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"total": {
|
||||||
|
"description": "数据总条数",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -419,9 +419,6 @@ definitions:
|
||||||
type: object
|
type: object
|
||||||
models.AssistantInviteMemberReportListResp:
|
models.AssistantInviteMemberReportListResp:
|
||||||
properties:
|
properties:
|
||||||
count:
|
|
||||||
description: 数据总条数
|
|
||||||
type: integer
|
|
||||||
export_url:
|
export_url:
|
||||||
description: 导出excel地址
|
description: 导出excel地址
|
||||||
type: string
|
type: string
|
||||||
|
@ -435,6 +432,9 @@ definitions:
|
||||||
pageSize:
|
pageSize:
|
||||||
description: 每页展示条数
|
description: 每页展示条数
|
||||||
type: integer
|
type: integer
|
||||||
|
total:
|
||||||
|
description: 数据总条数
|
||||||
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
models.AssistantInviteMemberReportReq:
|
models.AssistantInviteMemberReportReq:
|
||||||
properties:
|
properties:
|
||||||
|
@ -1142,9 +1142,6 @@ definitions:
|
||||||
type: object
|
type: object
|
||||||
models.ErpCommodityListResp:
|
models.ErpCommodityListResp:
|
||||||
properties:
|
properties:
|
||||||
count:
|
|
||||||
description: 数据总条数
|
|
||||||
type: integer
|
|
||||||
export_url:
|
export_url:
|
||||||
description: 文件路径
|
description: 文件路径
|
||||||
type: string
|
type: string
|
||||||
|
@ -1158,6 +1155,9 @@ definitions:
|
||||||
pageSize:
|
pageSize:
|
||||||
description: 每页展示条数
|
description: 每页展示条数
|
||||||
type: integer
|
type: integer
|
||||||
|
total:
|
||||||
|
description: 数据总条数
|
||||||
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
models.ErpOrder:
|
models.ErpOrder:
|
||||||
properties:
|
properties:
|
||||||
|
@ -2033,9 +2033,6 @@ definitions:
|
||||||
type: object
|
type: object
|
||||||
models.ErpStockCommodityListResp:
|
models.ErpStockCommodityListResp:
|
||||||
properties:
|
properties:
|
||||||
count:
|
|
||||||
description: 数据总条数
|
|
||||||
type: integer
|
|
||||||
export_url:
|
export_url:
|
||||||
type: string
|
type: string
|
||||||
list:
|
list:
|
||||||
|
@ -2048,6 +2045,9 @@ definitions:
|
||||||
pageSize:
|
pageSize:
|
||||||
description: 每页展示条数
|
description: 每页展示条数
|
||||||
type: integer
|
type: integer
|
||||||
|
total:
|
||||||
|
description: 数据总条数
|
||||||
|
type: integer
|
||||||
total_staff_price:
|
total_staff_price:
|
||||||
description: 入库员工成本价之和
|
description: 入库员工成本价之和
|
||||||
type: integer
|
type: integer
|
||||||
|
@ -2081,9 +2081,6 @@ definitions:
|
||||||
type: object
|
type: object
|
||||||
models.ErpStockListResp:
|
models.ErpStockListResp:
|
||||||
properties:
|
properties:
|
||||||
count:
|
|
||||||
description: 数据总条数
|
|
||||||
type: integer
|
|
||||||
export_url:
|
export_url:
|
||||||
type: string
|
type: string
|
||||||
list:
|
list:
|
||||||
|
@ -2096,6 +2093,9 @@ definitions:
|
||||||
pageSize:
|
pageSize:
|
||||||
description: 每页展示条数
|
description: 每页展示条数
|
||||||
type: integer
|
type: integer
|
||||||
|
total:
|
||||||
|
description: 数据总条数
|
||||||
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
models.GameCard:
|
models.GameCard:
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user