微信更新用户信息
参数
类型
必填
说明
// 云函数部分
// 函数名:update_wechat_user_info
BaaS.useVersion("v3.17.0");
exports.main = async function updateUserInfo(event, callback) {
const res = await BaaS.wechat.updateUserInfo(event.data.userID, event.data.data, {
syncUserProfile: event.data.syncUserProfile
});
return res
}Last updated
Was this helpful?