From 96f675ae9cb3a0f0610029b8d954a05396ceb761 Mon Sep 17 00:00:00 2001 From: Liujian <824010343@qq.com> Date: Wed, 16 Apr 2025 00:00:58 +0800 Subject: [PATCH] update path --- plugins/core/system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/core/system.go b/plugins/core/system.go index e5f753c9..dfef3aa1 100644 --- a/plugins/core/system.go +++ b/plugins/core/system.go @@ -24,7 +24,7 @@ func (p *plugin) systemApikeyApis() []pm3.Api { pm3.CreateApiWidthDoc(http.MethodDelete, "/api/v1/system/apikey", []string{"context", "query:apikey"}, nil, p.systemAPIKeyController.Delete), pm3.CreateApiWidthDoc(http.MethodGet, "/api/v1/system/apikeys", []string{"context", "query:keyword"}, []string{"apikeys"}, p.systemAPIKeyController.Search), pm3.CreateApiWidthDoc(http.MethodGet, "/api/v1/my/apikeys", []string{"context"}, []string{"apikeys"}, p.systemAPIKeyController.MyAPIKeys), - pm3.CreateApiWidthDoc(http.MethodGet, "/api/v1/my/app/apikeys", []string{"context", "query:service"}, []string{"apikeys"}, p.systemAPIKeyController.MyAPIKeysByService), + pm3.CreateApiWidthDoc(http.MethodGet, "/api/v1/my/app/apikeys", []string{"context", "query:service"}, []string{"apps"}, p.systemAPIKeyController.MyAPIKeysByService), pm3.CreateApiWidthDoc(http.MethodGet, "/api/v1/simple/system/apikeys", []string{"context"}, []string{"apikeys"}, p.systemAPIKeyController.SimpleList), } }