浏览代码

no message

zhangchuanxing 5 天之前
父节点
当前提交
a43db30b4a
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      controllers/report_selection.go

+ 5 - 0
controllers/report_selection.go

@@ -95,6 +95,11 @@ func (this *ReportSelectionController) Detail() {
 	//未设置全部可见的只能给弘则内部查看
 	//未设置全部可见的只能给弘则内部查看
 	if detail.VisibleRange == 1 || user.CompanyId == utils.HZ_COMPANY_ID {
 	if detail.VisibleRange == 1 || user.CompanyId == utils.HZ_COMPANY_ID {
 		resp.IsShow = true
 		resp.IsShow = true
+		br.Ret = 200
+		br.Success = true
+		br.Msg = "获取成功"
+		br.Data = resp
+		return
 	}
 	}
 	resp.HasPermission = hasPermission
 	resp.HasPermission = hasPermission
 	if hasPermission != 1 || !resp.IsShow {
 	if hasPermission != 1 || !resp.IsShow {