//功能根据保健号(数字型)修改预约的日期、时间和预订日期
updateapp: function (strid,strxq,strsj,strrq) {
wx.cloud.callFunction({
name: 'updateapp',
where: {
healthcode: strid,
},
data: {
appointweek: strxq,
appointtime: strsj,
appdate: strrq
},
success: function (res){
console.log(res)
}, fail: function (res) {
console.log(res)
}
})
},
写错了吧,where是不是应该放在data里面
小程序端的data值设为云端data的参数就行,