|
@@ -1208,6 +1208,8 @@ func (this *ResourceController) TemplateDownload() {
|
|
|
// @Success 200 {object} models.EdbdataClassifyResp
|
|
|
// @Param ResourceType query int true "资源库类型:0:事件库 1:政策库 2:观点库;3:知识库"
|
|
|
// @Param BiDashboardDetailId query int true "bi看板详情ID"
|
|
|
+// @Param CurrentIndex query int true "当前页码,从1开始"
|
|
|
+// @Param PageSize query int true "每页显示数量"
|
|
|
// @router /resource/bi_dashboard/list [get]
|
|
|
func (this *ResourceController) BiDashboardResourceList() {
|
|
|
br := new(models.BaseResponse).Init()
|
|
@@ -1218,7 +1220,7 @@ func (this *ResourceController) BiDashboardResourceList() {
|
|
|
|
|
|
biDashboardDetailId, _ := this.GetInt("BiDashboardDetailId")
|
|
|
resourceType, _ := this.GetInt("ResourceType")
|
|
|
- currentIndex, _ := this.GetInt("currentIndex")
|
|
|
+ currentIndex, _ := this.GetInt("CurrentIndex")
|
|
|
pageSize, _ := this.GetInt("PageSize")
|
|
|
|
|
|
resp, msg, err := knowledgeServ.GetKnowledgeResourceList(biDashboardDetailId, resourceType, currentIndex, pageSize)
|