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