|
@@ -300,10 +300,10 @@ func (s *Short) Article(stype, id string) error {
|
|
|
//免费用户正文手机号替换
|
|
|
if obj["site"] == "剑鱼信息发布平台" && !isMember {
|
|
|
//采购电话中标单位电话置空
|
|
|
- if obj["buyertel"] != "" {
|
|
|
+ if util.InterfaceToStr(obj["buyertel"]) != "" {
|
|
|
obj["buyertel"] = "freeView"
|
|
|
}
|
|
|
- if obj["winnertel"] != "" {
|
|
|
+ if util.InterfaceToStr(obj["winnertel"]) != "" {
|
|
|
obj["winnertel"] = "freeView"
|
|
|
}
|
|
|
//正文电话 手机号 邮箱处理
|
|
@@ -451,10 +451,10 @@ func (s *Short) Article(stype, id string) error {
|
|
|
//免费用户正文手机号替换
|
|
|
if obj["site"] == "剑鱼信息发布平台" && !isMember {
|
|
|
//采购电话中标单位电话置空
|
|
|
- if obj["buyertel"] != "" {
|
|
|
+ if util.InterfaceToStr(obj["buyertel"]) != "" {
|
|
|
obj["buyertel"] = "freeView"
|
|
|
}
|
|
|
- if obj["winnertel"] != "" {
|
|
|
+ if util.InterfaceToStr(obj["winnertel"]) != "" {
|
|
|
obj["winnertel"] = "freeView"
|
|
|
}
|
|
|
//正文电话 手机号 邮箱处理
|