Переглянути джерело

wip:获取数据参数修改

wangkaiyue 1 рік тому
батько
коміт
43accd82e3
2 змінених файлів з 3 додано та 2 видалено
  1. 1 1
      src/jfw/front/supsearch.go
  2. 2 1
      src/jfw/front/swordfish.go

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

@@ -474,7 +474,7 @@ func (p *Pcsearch) PcSearchIndex(module string) error {
 	default:
 		territorialization = ""
 		//超级搜索页面 移动定制搜索标签
-		mobileTag = p.GetSlice("mobileTag")
+		mobileTag = p.GetSlice("mobileTag[]")
 	}
 	if territorialization == "" {
 		territorialization = p.GetString("property")

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

@@ -91,7 +91,8 @@ func (m *Front) PcAjaxReq() {
 	phone := util.ObjToString(sessVal["phone"])
 	currentPage, _ := m.GetInteger("pageNumber")
 	pageSize, _ := m.GetInteger("pageSize")
-	mobileTag := m.GetSlice("mobileTag") //P513中国移动定制招标采购搜索
+	mobileTag := m.GetSlice("mobileTag[]") //P513中国移动定制招标采购搜索
+
 	if pageSize == 0 {
 		pageSize = 50
 	}