feat(net-tool): 新增空200返回
All checks were successful
/ release (push) Successful in 25s

This commit is contained in:
zhaoyingbo 2024-09-27 03:09:19 +00:00
parent 3908a401a5
commit 9d1f92863e

View File

@ -490,6 +490,16 @@ class NetTool extends NetToolBase {
return Response.json(data)
}
/**
* 200 OK的响应对象
*
* @returns 200 OK的响应对象
*/
empty200() {
this.logger.info("return a empty 200 response")
return new Response(null, { status: 200 })
}
/**
* 200 OK的健康检查响应对象
*