diff --git a/widgets/app/app.go b/widgets/app/app.go index f25f2e2f..ca59a80d 100644 --- a/widgets/app/app.go +++ b/widgets/app/app.go @@ -191,7 +191,7 @@ func exportAPI() error { Path: "/service/:name", Guard: "bearer-jwt", Method: "POST", - Process: "yao.app.Serivce", + Process: "yao.app.Service", In: []string{"$param.name", ":payload"}, Out: gou.Out{Status: 200, Type: "application/json"}, }