refactor: 联系信息页的API重构

This commit is contained in:
2025-11-11 16:58:40 +08:00
parent 5ad6133252
commit ac9e7b4436
3 changed files with 16 additions and 20 deletions

View File

@ -0,0 +1,9 @@
query GetContactInfo($locale: String!) {
contact_info {
id
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
id
content
}
}
}