mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: oplog: add path
This commit is contained in:
1 file changed
+1
@@ -48,6 +48,7 @@ export async function log<T extends Handler>(handler: T, type: string, data: any
|
|||||||
domainId: handler.args.domainId,
|
domainId: handler.args.domainId,
|
||||||
ua: handler.request.headers?.['user-agent'],
|
ua: handler.request.headers?.['user-agent'],
|
||||||
referer: handler.request.headers?.referer,
|
referer: handler.request.headers?.referer,
|
||||||
|
path: handler.request.path,
|
||||||
args,
|
args,
|
||||||
operator: handler.user?._id,
|
operator: handler.user?._id,
|
||||||
operateIp: handler.request.ip,
|
operateIp: handler.request.ip,
|
||||||
|
|||||||
Reference in new issue
Block a user