[feat] git.fsdpf.net/go/req 依赖更新
This commit is contained in:
@@ -32,7 +32,7 @@ type HttpController interface {
|
||||
Route() req.Route
|
||||
|
||||
// 内部调用
|
||||
Call(code string, params map[string]any, category ...req.RouteFilterOption) (req.HttpResponse, error)
|
||||
Call(code string, params map[string]any, category ...req.RouteMatchOption) (req.HttpResponse, error)
|
||||
// 内部调用
|
||||
// Invoke()
|
||||
|
||||
@@ -57,7 +57,7 @@ func (this HttpHandleController) User() req.User {
|
||||
return this.Request().Context().Value(req.RouteCtx{Name: "User"}).(req.User)
|
||||
}
|
||||
|
||||
func (this HttpHandleController) Call(code string, params map[string]any, opts ...req.RouteFilterOption) (req.HttpResponse, error) {
|
||||
func (this HttpHandleController) Call(code string, params map[string]any, opts ...req.RouteMatchOption) (req.HttpResponse, error) {
|
||||
return do.MustInvoke[req.Router](this.Container()).Call(this.Request(), code, params, opts...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user