- mqtt 协议
- 计算规则
- mqtt 协议 Copy
- 请求加密实例
- back
- 信息记录
- verification
- api
- oss
- 收支明细
- 充电相关
- 设备
- 下发订单
- 设备故障记录
- 用户认证
- 首页
- 酒店
- 酒店配置
- 安装师傅
- 房态
- 管理人员
- 登录
- 控屏程序
- 管理密码
- 房间订单
- 入住人信息
- 房间
- 支付
- 一键报警
- 常见问题
- 门店评价
- 预定订单
- tp
- 金额明细
- 门店收支明细
- 用户信息
- 保洁
- 商品
- 交班
- 房务相关
- 发票
- tools
- 派出所编码信息GET
- 测试接口GET
- 用户紧急求助POST
- 航信字典信息GET
- 国家代码列表GET
- 获取服务器GET
- 是否加密GET
- 获取轮播图GET
- 售卖机
- 报警
- im
- 测试POST
- 门店预警信息GET
- 大屏分局门店入住热力图GET
修改房间信息
开发中
tp_api正式环境
https://yzt.hntpxx.com/api
tp_api正式环境
https://yzt.hntpxx.com/api
PUT
/mRoom/updateMRoom
请求参数
Header 参数
token
string
可选
示例值:
{{appToken}}
Body 参数application/json
id
integer
必需
roomTypeID
integer
房型ID
templateID
integer
模板ID
name
string
名称
address
string
详细地址
lng
number
经度
lat
number
纬度
building
string
楼栋
unit
string
单元
floor
integer
楼层
door
string
房号/门牌号
computers
integer
主机数量
photo
string
主图
price
integer
价格(分)
wifiName
string
wifi名称
wifiPassword
string
wifi密码
示例
{
"id": 0,
"roomTypeID": 0,
"templateID": 0,
"name": "string",
"address": "string",
"lng": 0,
"lat": 0,
"building": "string",
"unit": "string",
"floor": 0,
"door": "string",
"computers": 0,
"photo": "string",
"price": 0,
"wifiName": "string",
"wifiPassword": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://yzt.hntpxx.com/api/mRoom/updateMRoom' \
--header 'token: {{appToken}}' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"roomTypeID": 0,
"templateID": 0,
"name": "string",
"address": "string",
"lng": 0,
"lat": 0,
"building": "string",
"unit": "string",
"floor": 0,
"door": "string",
"computers": 0,
"photo": "string",
"price": 0,
"wifiName": "string",
"wifiPassword": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
null
必需
msg
string
必需
示例
{
"code": 200,
"data": null,
"msg": "success"
}