docs(serverless): update readme

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2023-02-14 22:07:47 +08:00
parent 4b6f303829
commit b8bd57c20e

View File

@@ -106,6 +106,10 @@ import * as ejs from 'ejs'
`context.getMaster()` Promise<UserModel>,可以获取到主人的信息
`context.getService(name: string)` Promise<unknown>,当前支持 `axios`, `config`
`context.secret` Secret 对象
`context.name` same as model.name
`context.reference` same as model.reference