From ca7af78ef9b97fa3677997f537329a5e84361acc Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Thu, 25 Apr 2024 15:15:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=B8=8D=E8=83=BD=E5=8F=91=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uniCloud/cloudfunctions/uni-im-co/msg.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/uniCloud/cloudfunctions/uni-im-co/msg.js b/uniCloud/cloudfunctions/uni-im-co/msg.js index 325a3dd..2fcf54d 100644 --- a/uniCloud/cloudfunctions/uni-im-co/msg.js +++ b/uniCloud/cloudfunctions/uni-im-co/msg.js @@ -412,9 +412,7 @@ async function _createOrUpdateConversation(conversation_id, msgData) { let getUserInfoRes = await db.collection('uni-id-users') .doc(this.current_uid) .field({ - email:1, - nickname:1, - role:1 + mobile_confirmed:1 }) .get() if(!getUserInfoRes.data[0].mobile_confirmed){ -- GitLab