Przeglądaj źródła

Merge branch 'need/cygx_1044' of http://8.136.199.33:3000/hongze/hongze_clpt into debug

zhangchuanxing 1 dzień temu
rodzic
commit
57c3394610
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      controllers/research.go

+ 2 - 0
controllers/research.go

@@ -93,10 +93,12 @@ func (this *MobileResearchController) ArticleNewList() {
 	resp := new(models.ArticleResearchListResp)
 	if user.CompanyId == utils.GAO_YI_ZI_CHAN_COMPANY_ID {
 		resp.List = make([]*models.ArticleResearchResp, 0)
+		resp.Paging = paging.GetPaging(currentIndex, pageSize, 0)
 		br.Ret = 200
 		br.Success = true
 		br.Msg = "获取成功"
 		br.Data = resp
+		return
 	}
 	condition = `    AND publish_status = 1  `
 	if articleTypeIds == "" || strings.Contains(articleTypeIds, "999") {