# 删除预约项目

该接口方法需要安装 美业小程序,如未安装需要前往安装才可以使用

# 接口标识:delete_appointment_information

# 接口功能

删除预约项目

# 调用方式

wx.cloud.callFunction({
  name: 'cloudbase_module',
  data: {
    name: 'delete_appointment_information',
    data: {
      "filter": {
        "where": {
          "$and": [
            {
              "_id": {
                "$eq": "此处替换为实际值"
              }
            },
            {
              "_id": {
                "$eq": "此处替换为实际值"
              }
            },
            {
              "_id": {
                "$eq": "此处替换为实际值"
              }
            }
          ]
        }
      }
    },
  },
  success: (res) => {
    console.log(res)
  },
});

# 使用示例

(1) 删除预约项目

wx.cloud.callFunction({
  name: 'cloudbase_module',
  data: {
    name: 'delete_appointment_information',
    data: {
      "filter": {
        "where": {
          "$and": [
            {
              "_id": {
                "$eq": "324d3339664c66ae014c8ed474e0d7c5"
              }
            },
            {
              "_id": {
                "$eq": "324d3339664c66ae014c8ed474e0d7c6"
              }
            },
            {
              "_id": {
                "$eq": "324d3339664c66ae014c8ed474e0d7c7"
              }
            }
          ]
        }
      }
    },
  },
  success: (res) => {
    console.log(res)
  },
});

# 入参:

参数 类型 必填 描述
filter object 参数
filter.where object 删除条件
filter.where.$and array of undefined 删除参数数组ids