소스 검색

专区商品每页数量调整

abiao 5 년 전
부모
커밋
33d43fb13e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      go/gopath/src/fohow.com/apps/controllers/product_controller/product_controller.go

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/product_controller/product_controller.go

@@ -35,7 +35,7 @@ func (self *ProductController) Latest() {
 		ptype = product_model.TYPE_DIRECT_SALE
 	}
 	if ptype == product_model.SHOP_SALE {
-		perPage = int64(20)
+		//perPage = int64(20)
 	}
 	type Ret struct {
 		List      []*product_model.Product `json:"list"`