⚙️ 后端: 2.23.11
🌐 前端: 2.17.8
▎新增操作
修改响应, 可用于修改最终发出的响应使用场景:
修改构造好的响应 完全可控
1. 快速操作
直接读写
$res$res.status = 200
$res.header['X-Custom'] = 'new'
$res.body = $res.body2. function
返回完整
resasync function transformFunction(res, context) {
// res.status: HTTP status code
// res.header / res.headers: response headers
// res.body: response body
return res
}承接频道/群广告
有需要的老板可以私聊联系
- ❤️2