Browse Source

merge:处理冲突

fuwencai 1 year ago
parent
commit
c364f77c45
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/jfw/front/shorturl.go

+ 1 - 5
src/jfw/front/shorturl.go

@@ -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 {