|
@@ -1174,19 +1174,12 @@ func (s *Short) NologinCommon(userId, stype, id, sid string) error {
|
|
|
s.T["logid"] = config.Seoconfig["jysskzy"].(string)
|
|
|
s.T["shareid"] = se.EncodeString(shareid)
|
|
|
//s.T["keywords"] = s.GetString("kds")
|
|
|
- if stype == "" {
|
|
|
- stype = "拟建,招标预告,招标公告,招标结果,招标信用信息"
|
|
|
- }
|
|
|
- if strings.Contains(stype, "采购意向") {
|
|
|
- if len(strings.Split(stype, ",")) > 1 {
|
|
|
- stype = strings.ReplaceAll(stype, "采购意向,", "")
|
|
|
- } else {
|
|
|
- stype = strings.ReplaceAll(stype, "采购意向", "")
|
|
|
- }
|
|
|
- }
|
|
|
s.DisableHttpCache()
|
|
|
po, bo, wo, obj := pcVRT(sid, industry, stype, false)
|
|
|
if obj != nil && len(obj) > 0 {
|
|
|
+ if obj["subtype"] == "采购意向" { //未登录不能访问采购意向
|
|
|
+ return s.Redirect("/notin/page")
|
|
|
+ }
|
|
|
if len(po) > 0 {
|
|
|
s.T["projectOther"] = po
|
|
|
}
|