|
@@ -168,14 +168,6 @@ func (s *subscribePush) InfoFormat(p *PushCa, info *map[string]interface{}) *bxs
|
|
if infotype == "" {
|
|
if infotype == "" {
|
|
infotype = common.ObjToString((*info)["toptype"])
|
|
infotype = common.ObjToString((*info)["toptype"])
|
|
}
|
|
}
|
|
- if infotype == "" {
|
|
|
|
- infotype = common.ObjToString((*info)["type"])
|
|
|
|
- if infotype == "tender" {
|
|
|
|
- infotype = "招标"
|
|
|
|
- } else if infotype == "bid" {
|
|
|
|
- infotype = "中标"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
_id := p.InfoId
|
|
_id := p.InfoId
|
|
if _id == "" {
|
|
if _id == "" {
|
|
_id = common.ObjToString((*info)["_id"])
|
|
_id = common.ObjToString((*info)["_id"])
|