Explorar o código

Merge branch 'dev/v4.8.44_ws' of qmx/jy into feature/v4.8.44

wangshan %!s(int64=2) %!d(string=hai) anos
pai
achega
afa27c0efb
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/jfw/front/shorturl.go
  2. 1 1
      src/jfw/front/swordfish.go

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

@@ -141,7 +141,7 @@ func (s *Short) LoginCommon(userId, stype, id string) error {
 		s.Redirect("/not/nottype", 302)
 		return nil
 	} else if stype == "content" || stype == "bdcontent" || stype == "advancedProject" {
-		if userId == "" {
+		if userId == "" && bm {
 			if s.GetString("state") == "wx" {
 				//微信跳回来的
 				if code := s.GetString("code"); code != "" {

+ 1 - 1
src/jfw/front/swordfish.go

@@ -796,7 +796,7 @@ func pcVRT(sid, industry, content string, isPayUser bool) (po, bo, wo []map[stri
 			objdata = obj
 			queryStr := ""
 			commonQuery := func(mustquery string) *[]map[string]interface{} {
-				return elastic.GetPage("bidding", "bidding", queryStr, bidSearch_sort, `"_id","title","publishtime","toptype","subtype","type","area","href","s_subscopeclass","spidercode","site"`, 0, 11)
+				return nil //elastic.GetPage("bidding", "bidding", queryStr, bidSearch_sort, `"_id","title","publishtime","toptype","subtype","type","area","href","s_subscopeclass","spidercode","site"`, 0, 11)
 			}
 			//同一个项目的其他招标信息
 			projectName, _ := obj["projectname"].(string)