Browse Source

feat:修改返回结构体

zhangxinlei1996 3 years ago
parent
commit
8ab3e58f5f
1 changed files with 1 additions and 3 deletions
  1. 1 3
      api/medical/internal/logic/institution/newmsglistexportlogic.go

+ 1 - 3
api/medical/internal/logic/institution/newmsglistexportlogic.go

@@ -38,9 +38,7 @@ func (l *NewMsgListExportLogic) NewMsgListExport(req *types.NewMsgListExportReq)
 		l.Error(fmt.Sprintf("%+v", req), resp.Error_msg)
 		resp.Error_code, resp.Error_msg = -1, "查看失败"
 	} else {
-		resp.Data = map[string]interface{}{
-			"data": ret.Data,
-		}
+		resp.Data = ret.Data
 	}
 	return
 }