Browse Source

Merge branch 'feature/v4.8.83_wky' of qmx/jy into feature/v4.8.83

wangkaiyue 1 năm trước cách đây
mục cha
commit
8e639daf32
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/jfw/front/shorturl.go

+ 3 - 3
src/jfw/front/shorturl.go

@@ -1243,9 +1243,9 @@ func (s *Short) NologinCommon(userId, stype, id, sid string) error {
 		po, bo, wo, obj := pcVRT(sid, industry, stype, false, false)
 		if obj != nil && len(obj) > 0 {
 			// p397 未登录不能查看拟建项目
-			if !ipTrue && (obj["subtype"] == "采购意向" || obj["subtype"] == "拟建") { //未登录不能访问采购意向
-				return s.Redirect(fmt.Sprintf("/notin/page?backTo=%s", s.Request.URL), 302)
-			}
+			//if !ipTrue && (obj["subtype"] == "采购意向" || obj["subtype"] == "拟建") { //未登录不能访问采购意向
+			//	return s.Redirect(fmt.Sprintf("/notin/page?backTo=%s", s.Request.URL), 302)
+			//}
 			if len(po) > 0 {
 				s.T["projectOther"] = po
 			}