|
@@ -293,6 +293,9 @@ func (s *Short) Article(stype, id string) error {
|
|
if obj["winner_enttel"] != "" {
|
|
if obj["winner_enttel"] != "" {
|
|
obj["winner_enttel"] = "无权限"
|
|
obj["winner_enttel"] = "无权限"
|
|
}
|
|
}
|
|
|
|
+ if obj["subType"] == "拟建" || obj["subType"] == "采购意向" {
|
|
|
|
+ s.T["canRead"] = false
|
|
|
|
+ }
|
|
}
|
|
}
|
|
//判断时间 //如果是seo页面超过时间访问的进入首页
|
|
//判断时间 //如果是seo页面超过时间访问的进入首页
|
|
comeinTime := time.Unix(util.Int64All(obj["comeintime"]), 0)
|
|
comeinTime := time.Unix(util.Int64All(obj["comeintime"]), 0)
|
|
@@ -304,8 +307,6 @@ func (s *Short) Article(stype, id string) error {
|
|
FieldProcessing(obj, ssOpenid, industry, id, from_userid, userId, stype, isVip || isMember || isEntniche, false)
|
|
FieldProcessing(obj, ssOpenid, industry, id, from_userid, userId, stype, isVip || isMember || isEntniche, false)
|
|
|
|
|
|
s.T["obj"] = obj
|
|
s.T["obj"] = obj
|
|
- if obj["subType"] == "拟建" || obj["subType"] == "采购意向" {
|
|
|
|
- }
|
|
|
|
|
|
|
|
if obj["projectname"] != nil {
|
|
if obj["projectname"] != nil {
|
|
s.SetSession("projectname", obj["projectname"])
|
|
s.SetSession("projectname", obj["projectname"])
|