Ver código fonte

Merge branch 'dev1.0.0' of https://app.yhyue.com/moapp/jyInfo into dev1.0.0

wangshan 3 anos atrás
pai
commit
c16dfa700b

+ 2 - 2
rpc/consumer/internal/logic/supplyinfodetaillogic.go

@@ -56,10 +56,10 @@ func (l *SupplyInfoDetailLogic) SupplyInfoDetail(in *consumerinfo.StatusReq) (*c
 			conctact.Overt = mc.Int64All((*data)["contact_overt"])
 			info.InfoDetailContact = &conctact
 			info.Attach = astr
-			info.EntId = se.SE.EncodeString(mc.InterfaceToStr((*data)["ent_id"]))
+			info.EntId = se.SE.Encode2HexByCheck(mc.InterfaceToStr((*data)["ent_id"]))
 			info.Id = in.MsgId
 			//其他供应信息
-			otherData := es.GetSupplyOtherInfoByEntid(mc.InterfaceToStr(se.SE.DecodeString(info.EntId)), 5)
+			otherData := es.GetSupplyOtherInfoByEntid(mc.InterfaceToStr((*data)["ent_id"]), 5)
 			if otherData != nil && len(*otherData) > 0 {
 				for _, v := range *otherData {
 					if info.Id == se.SE.EncodeString(mc.InterfaceToStr(v["_id"])) {