Skip to content

Commit bfcbaa1

Browse files
author
lu.jin
committed
updated README.md
1 parent 6ee62d6 commit bfcbaa1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@
4444
3. **开发 resolver**
4545
在 `graph/schema.resolvers.go` 中实现您新 API 的逻辑。该文件包含负责获取和返回数据的 resolver。
4646

47+
4. **数据权限 (非必须)**
48+
graphql server 的数据需要支持 cookies 鉴权, 传入的 cookies 为:
49+
50+
```json
51+
cookies = {
52+
"TSTenant": "ffeb581c-6f23-43d2-b507-e224e04bc82d",
53+
"EIToken": "xxxx"
54+
}
55+
```
56+
57+
目前只支持 cookies 鉴权 [graphql-db-api engine for superset](https://github.com/lujin3/graphql-db-api/blob/main/graphqldb/db_engine_specs.py) `get_extra_params`
58+
4759
## 快速开始
4860

4961
### Start the graphql server

0 commit comments

Comments
 (0)