|
@@ -1222,12 +1222,8 @@ func (s *Short) NologinCommon(userId, stype, id, sid string) error {
|
|
|
s.DisableHttpCache()
|
|
|
po, bo, wo, obj := pcVRT(sid, industry, stype, false)
|
|
|
if obj != nil && len(obj) > 0 {
|
|
|
-<<<<<<< HEAD
|
|
|
// p397 未登录不能查看拟建项目
|
|
|
- if obj["subtype"] == "采购意向" || obj["subtype"] == "拟建" { //未登录不能访问采购意向
|
|
|
-=======
|
|
|
- if !ipTrue && obj["subtype"] == "采购意向" { //未登录不能访问采购意向
|
|
|
->>>>>>> master
|
|
|
+ if !ipTrue && (obj["subtype"] == "采购意向" || obj["subtype"] == "拟建") { //未登录不能访问采购意向
|
|
|
return s.Redirect("/notin/page", 302)
|
|
|
}
|
|
|
if len(po) > 0 {
|