Quellcode durchsuchen

orders list add wait commend

abiao vor 4 Jahren
Ursprung
Commit
ae47558c2b

+ 2 - 4
go/gopath/src/fohow.com/apps/controllers/order_controller/order_controller.go

@@ -517,13 +517,11 @@ func (self *OrderController) WaitCommendList() {
 
 	status := self.GetString("status")
 	page, _ := self.GetInt("page")
-	perPage, _ := self.GetInt("per_page")
+	//perPage, _ := self.GetInt("per_page")
 	if page <= 0 {
 		page = 1
 	}
-	if perPage <= 0 || perPage > 100 {
-		perPage = 100
-	}
+	perPage := 100
 	cache, _ := self.GetBool("cache", false)
 	//uId := self.GetCurrentUserId()
 	wxUId := self.GetCurrentWxUserId()