From 4510ae02fdf512b763758893894f1098a4dad13a Mon Sep 17 00:00:00 2001 From: jixudong Date: Mon, 11 Dec 2023 14:02:48 +0800 Subject: [PATCH] Upload New File --- gameditor/前端接口/创作平台请求header.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gameditor/前端接口/创作平台请求header.md diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\345\210\233\344\275\234\345\271\263\345\217\260\350\257\267\346\261\202header.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\345\210\233\344\275\234\345\271\263\345\217\260\350\257\267\346\261\202header.md" new file mode 100644 index 0000000..e6c5083 --- /dev/null +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\345\210\233\344\275\234\345\271\263\345\217\260\350\257\267\346\261\202header.md" @@ -0,0 +1,13 @@ +**请求header已经在所有接口请求时统一携带,在前端创作平台项目http文件下的intercept.js文件的请求拦截器中封装** + +#### 请求header + +| key | value | +| :------------ | :----------------------------- | +| Content-Type | application/json;charset=utf-8 | +| Authorization | 用户认证签名 | +| Botaccount | 作品帐号 | +| Groupid | 项目组ID | +| Mul | true(默认值写死) | +| Projectid | 项目ID(默认值写死) | + -- libgit2 0.27.1