소스 검색

orders list add wait commend

abiao 4 년 전
부모
커밋
8896722f10
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      go/gopath/src/fohow.com/apps/controllers/order_controller/order_controller.go

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

@@ -554,6 +554,8 @@ func (self *OrderController) WaitCommendList() {
 		}
 		if commend {
 			latestOrders = append(latestOrders, item)
+		} else {
+			count = count - 1
 		}
 	}
 	type Ret struct {