浏览代码

fix:删除多余字段

duxin 3 年之前
父节点
当前提交
a98b77f8c6
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      rpc/manager/internal/logic/infolistlogic.go

+ 0 - 5
rpc/manager/internal/logic/infolistlogic.go

@@ -97,11 +97,6 @@ func (l *InfoListLogic) InfoList(in *manager.InfoListReq) (*manager.InfoListResp
 		for _, v := range *allData {
 			res := manager.InfoList{}
 			var contact manager.Contact
-			if common.IntAll(v["type"]) == 1 || common.IntAll(v["type"]) == 2 {
-				res.Checked = model.Sensitive.Information
-			} else {
-				res.Checked = model.Sensitive.SupplyInfo
-			}
 			res.Id = se.SE.EncodeString(common.InterfaceToStr(v["id"])) //信息id加密
 			res.Title = common.InterfaceToStr(v["title"])
 			res.MsgType = common.Int64All(v["type"])