This commit is contained in:
parent
3908a401a5
commit
9d1f92863e
@ -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的健康检查响应对象。
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user