Kaynağa Gözat

wip:新旧网站来源标识

wangshan 8 ay önce
ebeveyn
işleme
8123960865
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      jyBXCore/rpc/service/purchase.go

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

@@ -256,7 +256,7 @@ func (p *Purchase) PurchaseListFormat(res []map[string]interface{}) (list []*bxc
 			DeliveryLoc:   deliveryLoc,
 			Industry:      util.IndustryFormat(p.Industry, strings.Trim(MC.ObjToString(rv["s_subscopeclass"]), ",")),
 			PublicType:    MC.InterfaceToStr(rv["public_type"]),
-			IsNew:         1,
+			IsNew:         MC.Int64All(rv["is_yg_new"]), //is_yg_new==1 新的网站来源
 			OriginalTitle: MC.InterfaceToStr(rv["title"]),
 			//BuyerPerson:  buyerPerson,
 			//Agency:       agency,