Files
jinshen-website/server/assets/graphql/productList.graphql
R2m1liA 33c0b9cc43 fix: 修正搜索条目无法完全显示的问题
- 为查询/搜索添加更大的limit
2025-12-18 15:05:17 +08:00

23 lines
432 B
GraphQL

query GetProductList($locale: String!) {
products(filter: { status: { _eq: "in-production" } }, limit: 200) {
id
status
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
id
name
summary
}
cover {
id
}
product_type {
id
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
id
name
}
sort
}
}
}