|
@@ -114,12 +114,15 @@ type BidSearchExport struct {
|
|
|
|
|
|
func (this *BidSearchExport) PassBidSearchExport() (returnData map[string]interface{}) {
|
|
|
defer util.Catch()
|
|
|
- areaSave, industrySave := []string{}, []string{}
|
|
|
+ areaSave, industrySave, citySave := []string{}, []string{}, []string{}
|
|
|
winnerSave, buyerclassSave := []string{}, []string{}
|
|
|
publishtimeSave := this.Publishtime
|
|
|
if len(this.Area) > 0 {
|
|
|
areaSave = strings.Split(this.Area, ",")
|
|
|
}
|
|
|
+ if this.City != "" {
|
|
|
+ citySave = strings.Split(this.City, ",")
|
|
|
+ }
|
|
|
if len(this.Industry) > 0 {
|
|
|
industrySave = strings.Split(this.Industry, ",")
|
|
|
}
|
|
@@ -171,6 +174,7 @@ func (this *BidSearchExport) PassBidSearchExport() (returnData map[string]interf
|
|
|
"keywords": KeyWordSave,
|
|
|
"publishtime": publishtimeSave,
|
|
|
"area": areaSave,
|
|
|
+ "city": citySave,
|
|
|
"subtype": this.Subtype,
|
|
|
"minprice": this.Minprice,
|
|
|
"maxprice": this.Maxprice,
|