Closed lling1105 closed 2 months ago
i need to modify request body value before it assign to individual service. i had modify body value in the onBeforeCall hook, but not working.
onBeforeCall(ctx, route, req, res){ ctx.params.req.body.sql = '...' } }
ignore this question. i should use middleware.
i need to modify request body value before it assign to individual service. i had modify body value in the onBeforeCall hook, but not working.