写了个云函数,先删除A集合的某条数据,再去更新B集合的某条数据,B集合的操作死活没反应?

小程序 文章 2020-08-06 22:01 605 0 全屏看文

AI助手支持GPT4.0

写了个云函数,先删除A集合的某条数据,再去更新B集合的某条数据,B集合的操作死活没反应?I wrote a cloud function, first delete a certain piece of data in the A collection, and then update a certain piece of data in the B collection, the operation of the B collection is dead or alive?

写了个云函数,先删除A集合的某条数据,再去更新B集合的某条数据,B集合的操作死活没反应?

回答:

leo:

启明星:

云函数已经移除了success风格的回调

leo:真的吗
leo:好像是真的  用promiss可以了
o0o有脾气的酸奶:

在 wx-server-sdk 中不再兼容 success、fail、complete 回调

若认为该回答有用,给回答者点个[ 有用 ],让答案帮助更多的人

-EOF-

AI助手支持GPT4.0