소스 검색

get product commend list

abiao 4 년 전
부모
커밋
c4f755e77e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      go/gopath/src/fohow.com/apps/models/product_model/product_commend.go

+ 1 - 1
go/gopath/src/fohow.com/apps/models/product_model/product_commend.go

@@ -89,7 +89,7 @@ func GetProductCommendCountByProductId(productId int64, status, useCache bool) i
 			return ret
 		}
 	}
-	item := new(Product)
+	item := new(ProductCommend)
 	o := orm.NewOrm()
 	qs := o.QueryTable(item)