公告板
版本库
filestore
活动
搜索
登录
main
/
new-ryc
蓉易创
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
初始化
lrj
3 天以前
c61d4fe27c97d2ecc907756aa571a4ef14a7b9b6
[new-ryc.git]
/
check_table.ps1
1
2
3
4
5
6
7
8
9
10
11
$headers = @{
"Content-Type" = "application/json"
}
$body = @{
query = "query { __schema { types { name fields { name type { name } } } } }"
} | ConvertTo-Json
Write-Host "检查GraphQL Schema..."
$response = Invoke-RestMethod -Uri "http://localhost:8080/api/graphql" -Method POST -Body $body -Headers $headers
Write-Host "Schema检查完成"