refactor: 解决方案列表的API重构
This commit is contained in:
21
app/graphql/solutionList.graphql
Normal file
21
app/graphql/solutionList.graphql
Normal file
@ -0,0 +1,21 @@
|
||||
query GetSolutionList($locale: String!) {
|
||||
solutions {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user