diff --git a/README.md b/README.md index 906153c..5e00e8c 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ 2. 登录 [Cloudflare Dashboard](https://dash.cloudflare.com/) - 进入Workers > Workers & Pages 页面 - 点击 "创建" 按钮 - - 选择 "Pages">"Connect to Git" + - 选择 "Pages">"Connect to Git (导入现有 Git 存储库)" 3. 配置部署选项 - 选择你 fork 的仓库 @@ -141,7 +141,7 @@ APIKEY|对应角色|服务商|申请地址| ## 贡献指南 欢迎提交 Pull Request 或提出 Issue。 -加官方微信:`botgroup` 拉你进微信群 +加官方微信号:`botgroup` 拉你进微信群。 当然也可以加共建QQ群交流:922322461(群号) ## 跪谢赞助商ORZ diff --git a/functions/api/user/upload.ts b/functions/api/user/upload.ts index 698688d..cd551b7 100644 --- a/functions/api/user/upload.ts +++ b/functions/api/user/upload.ts @@ -20,5 +20,5 @@ export const onRequestPost: PagesFunction = async (context) =>{ const data1 = await response.json(); console.log('上传头像', data1); //下发image前缀 - return Response.json(data1.result); + return Response.json({data :data1.result}); } \ No newline at end of file diff --git a/index.html b/index.html index d020cee..0394f78 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,8 @@ AI机器人群聊 + +