From 5c1b5a05b17d0a7ee17c392cef76ff60834a2fd5 Mon Sep 17 00:00:00 2001 From: Luk Date: Mon, 5 Feb 2024 11:41:50 +0800 Subject: [PATCH] change _type to _io in console.log --- unitool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unitool.js b/unitool.js index ab0ca4c..3384f86 100644 --- a/unitool.js +++ b/unitool.js @@ -242,7 +242,7 @@ export default { if (process.env.NODE_ENV !== 'production') { console.log({ _at: startTime, - _type: 'REQ', + _io: 'CREQ', _path: `${thisRoute} => ${apiWho}/${apiTodo}`, apiurl, baseType, @@ -262,7 +262,7 @@ export default { ) console.log({ _at: new Date().toJSON(), - _type: 'RES', + _io: 'CRES', _path: `${thisRoute} => ${apiWho}/${apiTodo}`, result }