Skip to content

akb配置context #2

@EastLee

Description

@EastLee

middlewares/extends/context.js 里面设置了几个ctx方法,我看业务代码里面用中间件在ctx上扩展方法,这里是不是可以单独抽出一个扩展文件lib/context/**,服务启动时读取这里的配置?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions