From 60b472acd097efb13d9577b89b34ad229fa66e47 Mon Sep 17 00:00:00 2001 From: liuhuapiaoyuan <278780765@qq.com> Date: Tue, 16 Apr 2024 22:17:14 +0800 Subject: [PATCH] fix: remove unused ctx --- backend-api/backend-api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/backend-api/backend-api.go b/backend-api/backend-api.go index a71f0e0..ccab4d5 100644 --- a/backend-api/backend-api.go +++ b/backend-api/backend-api.go @@ -290,7 +290,6 @@ func AttachGPT4Mobile(ctx g.Ctx, response *http.Response) error { // 创建信息,接受参数 conversationId func CreateConversation(r *ghttp.Request, userId int, chatgptId int, userToken string, userAgent string, conversationPath string) { - ctx := r.GetCtx() id := strings.Split(conversationPath, "/")[4] r.Request.Header.Set("Authorization", "Bearer "+userToken) resStr, err := ProxyRequestGet("/backend-api/conversation/"+id, r)