From 5157a2b18b6bc8f118c0cf86c8d6871f0242d6c1 Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Tue, 7 May 2024 17:27:54 +0800 Subject: [PATCH] Update index.obj.js --- uniCloud/cloudfunctions/uni-im-co/index.obj.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uniCloud/cloudfunctions/uni-im-co/index.obj.js b/uniCloud/cloudfunctions/uni-im-co/index.obj.js index 8c30621..b94bfc2 100644 --- a/uniCloud/cloudfunctions/uni-im-co/index.obj.js +++ b/uniCloud/cloudfunctions/uni-im-co/index.obj.js @@ -58,7 +58,7 @@ module.exports = { async _after(error, result) { // 请求完成时间 - console.error('请求完成时间', Date.now() - this.requestStartTime, 'ms') + // console.error('请求完成时间', Date.now() - this.requestStartTime, 'ms') if (error) { // console.log({ @@ -77,6 +77,8 @@ module.exports = { if (this._promises.length > 0) { await Promise.all(this._promises) } + + // console.error('云函数结束时间', Date.now() - this.requestStartTime, 'ms') return result || { errCode: 0 } }, -- GitLab