zhangxinlei1996 5 éve
szülő
commit
40cb64b495
1 módosított fájl, 17 hozzáadás és 13 törlés
  1. 17 13
      common/src/qfw/util/jy/subscribepush.go

+ 17 - 13
common/src/qfw/util/jy/subscribepush.go

@@ -21,19 +21,21 @@ const (
 )
 
 type SubPushList struct {
-	Id              string   `json:"_id"`
-	Title           string   `json:"title"`
-	Area            string   `json:"area"`
-	Buyerclass      string   `json:"buyerclass"`
-	Type            string   `json:"type"`
-	S_subscopeclass string   `json:"s_subscopeclass"`
-	Publishtime     int64    `json:"publishtime"`
-	Ca_index        int64    `json:"ca_index"`
-	Ca_date         int64    `json:"ca_date"`
-	Ca_isvisit      int      `json:"ca_isvisit"`
-	Ca_isvip        int      `json:"ca_isvip"`
-	Ca_type         int      `json:"ca_type"`
-	Matchkeys       []string `json:"matchkeys"`
+	Id              string      `json:"_id"`
+	Title           string      `json:"title"`
+	Area            string      `json:"area"`
+	Buyerclass      string      `json:"buyerclass"`
+	Type            string      `json:"type"`
+	S_subscopeclass string      `json:"s_subscopeclass"`
+	Publishtime     int64       `json:"publishtime"`
+	Ca_index        int64       `json:"ca_index"`
+	Ca_date         int64       `json:"ca_date"`
+	Ca_isvisit      int         `json:"ca_isvisit"`
+	Ca_isvip        int         `json:"ca_isvip"`
+	Ca_type         int         `json:"ca_type"`
+	Matchkeys       []string    `json:"matchkeys"`
+	Budget          interface{} `json:"budget"`
+	Bidamount       interface{} `json:"bidamount"`
 }
 
 const (
@@ -140,6 +142,8 @@ func (s *subscribePush) InfoFormat(p *PushCa, info *map[string]interface{}) *Sub
 		Ca_isvip:        p.Isvip,
 		Ca_type:         p.Type,
 		Matchkeys:       p.Keys,
+		Budget:          p.Budget,
+		Bidamount:       p.Bidamount,
 	}
 }