|
@@ -66,6 +66,8 @@ class ProductService:
|
|
|
# 如果你当前 paginate 是同步实现,这里保持与你原项目一致
|
|
# 如果你当前 paginate 是同步实现,这里保持与你原项目一致
|
|
|
|
|
|
|
|
stmt = select(VasProduct)
|
|
stmt = select(VasProduct)
|
|
|
|
|
+
|
|
|
|
|
+ stmt = stmt.where(VasProduct.enabled == 1)
|
|
|
|
|
|
|
|
if country:
|
|
if country:
|
|
|
stmt = stmt.where(VasProduct.country == country)
|
|
stmt = stmt.where(VasProduct.country == country)
|