Files
jinshen-website/graphql/solutionList.graphql
R2m1liA a5f3895794 refactor: 将数据获取从app端移至server端
- 调整数据获取位置以提升安全性
- 对于后端状态为Archived的数据,通过server控制不进行获取
2025-11-12 17:54:43 +08:00

22 lines
400 B
GraphQL

query GetSolutionList($locale: String!) {
solutions(filter: { status: { _eq: "published" } }) {
id
cover {
id
}
type {
id
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
id
name
}
sort
}
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
id
title
summary
}
}
}