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