diff --git a/uniCloud/cloudfunctions/uni-im-co/index.obj.js b/uniCloud/cloudfunctions/uni-im-co/index.obj.js index 8c30621c3e1561bfe7a3c61f65348ace45c6fc41..b94bfc2f37a1d60be96ad419bac15bc2a580829b 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 } },