wangshan il y a 8 mois
Parent
commit
9a899cd313
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      jyBXCore/rpc/service/purchase.go

+ 1 - 1
jyBXCore/rpc/service/purchase.go

@@ -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 {