refactor: 联系信息页的API重构
This commit is contained in:
9
app/graphql/contactInfo.graphql
Normal file
9
app/graphql/contactInfo.graphql
Normal file
@ -0,0 +1,9 @@
|
||||
query GetContactInfo($locale: String!) {
|
||||
contact_info {
|
||||
id
|
||||
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
|
||||
id
|
||||
content
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user