|
@@ -169,6 +169,7 @@ func (p *Purchase) PurchaseListFormat(res []map[string]interface{}) (list []*bxc
|
|
|
city := MC.InterfaceToStr(rv["city"])
|
|
|
district := MC.InterfaceToStr(rv["district"])
|
|
|
title := MC.InterfaceToStr(rv["title"])
|
|
|
+ originalTitle := title
|
|
|
if len([]rune(title)) > 50 {
|
|
|
splitStr := "-"
|
|
|
titles := strings.Split(title, splitStr)
|
|
@@ -189,7 +190,6 @@ func (p *Purchase) PurchaseListFormat(res []map[string]interface{}) (list []*bxc
|
|
|
}
|
|
|
}
|
|
|
publicType := MC.InterfaceToStr(rv["public_type"])
|
|
|
- originalTitle := title
|
|
|
if publicType == "平台发布" && rv["purchasinglist"] != nil {
|
|
|
purchasingList := MC.ObjArrToMapArr(rv["purchasinglist"].([]interface{}))
|
|
|
if len(purchasingList) > 1 {
|