0.11.0 退役老预设线:workbench/host/routes.mjs
This commit is contained in:
parent
f15e7d112c
commit
e42896c9c5
|
|
@ -366,6 +366,7 @@ export function buildRouteTable(service, options = {}) {
|
|||
handler: async ({ body }) => service.getMemory({
|
||||
scope: body.scope,
|
||||
projectId: select(body),
|
||||
roleId: body.roleId,
|
||||
}),
|
||||
},
|
||||
[`${ROUTE_PREFIX}/memory/put`]: {
|
||||
|
|
@ -373,6 +374,7 @@ export function buildRouteTable(service, options = {}) {
|
|||
handler: async ({ body }) => service.putMemory({
|
||||
scope: body.scope,
|
||||
projectId: select(body),
|
||||
roleId: body.roleId,
|
||||
text: body.text,
|
||||
}),
|
||||
},
|
||||
|
|
@ -381,6 +383,7 @@ export function buildRouteTable(service, options = {}) {
|
|||
handler: async ({ body }) => service.appendMemory({
|
||||
scope: body.scope,
|
||||
projectId: select(body),
|
||||
roleId: body.roleId,
|
||||
text: body.text,
|
||||
}),
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue