Browse Source

fix:删除多余字段

duxin 3 years ago
parent
commit
a98b77f8c6
1 changed files with 0 additions and 5 deletions
  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"])