使用set方法更新数据库中对应的数据,有时候能正常运行 ,有时候就报错?
发布于 3 年前 作者 ykong 8747 次浏览 来自 问答

 await db.collection(wxtoken).doc(_id).set({

        data:{

        accessToken: act,

        expiresIn: ein,

        createTime: Date.now()

        }

      });

报错:

这是具体是什么问题呀?

2 回复

万能的console.log()

回到顶部