浏览代码

merge:处理冲突

fuwencai 1 年之前
父节点
当前提交
c364f77c45
共有 1 个文件被更改,包括 1 次插入5 次删除
  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 {