updateHomeInfo 更新家庭信息

updateHomeInfo ^7.9

更新家庭信息

#请求参数

Prop Type Default Comment
homeId String N/A 家庭id 必填
name String N/A 家庭名称
des String N/A 描述
address String N/A 地址
coordinate String N/A 位置
areaid String N/A xxx
adCode String N/A

#接口调用示例

const params = {
    "homeId": "家庭id 必填",
    "name": "家庭名称",
    "des": "描述",
    "address": "地址",
    "coordinate": "位置",
    "areaid": "xxx",
    "adCode": ""
}
this.$bridge
  .updateHomeInfo(params)
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#接口返回示例

{
    "code": "0",
    "msg": "修改成功"
}
posted on 2024-12-17 09:26  AtlasLapetos  阅读(8)  评论(0)    收藏  举报