wangkaiyue 2 anni fa
parent
commit
6ea6721391
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/jfw/jyutil/jyCms.go

+ 1 - 1
src/jfw/jyutil/jyCms.go

@@ -37,7 +37,7 @@ func GetFirstJyCms(contentType string, size int) (r []map[string]interface{}) {
 		rs, _, _ := JyCmsSearch(map[string]string{
 			"s_contenttype": contentType,
 			"perPage":       fmt.Sprintf("%d", size),
-		}, "/jyblog/index_%s.html")
+		}, "")
 		if rs != nil {
 			for _, v := range *rs {
 				delete(v, "praise")