- 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
POST
/manager/register
请求参数
Header 参数
token
string
可选
默认值:
{{token}}
Body 参数application/json
phone
string
手机号
password
string
密码
hotelName
string
酒店名称
category
integer
必需
lng
number
经度
lat
number
维度
address
string
地址
addressDetail
string
详细地址
area
string
区域
policeCode
string
派出所编码
policeName
string
派出所名称
juridicalPersonName
string
法人姓名
juridicalPersonIdCard
string
法人身份证号
juridicalPersonPhoto
string
法人身份证照片
juridicalPersonPhone
string
法人手机号
roomNum
integer
房间数量
bedNum
integer
床位数量
blCode
string
必需
blName
string
营业执照名称
blPhoto
string
营业执照照片
operatorName
string
经营人姓名
operatorPhone
string
经营人电话
operatorIdCardNo
string
经营人身份证
operatorIdCardPhoto
string
经营人身份证照片
locationPhoto
string
位置方位图
floorPlan
string
楼层平面图
proofOfPlace
string
必需
proofOfLegalUse
string
必需
realNameRegCommitment
string
实名登记承诺书
filingApplicationForm
string
必需
entranceExteriorPhoto
string
场所入口外景图
fireFightingPhoto
string
消防相关材料照片
employeeForm
string
从业人员信息表
checkInTime
string
入住时间
checkOutTime
string
退房时间
wxOpenId
string
可选
unionId
string
unionID
示例
{
"phone": "string",
"password": "string",
"hotelName": "string",
"category": 0,
"lng": 0,
"lat": 0,
"address": "string",
"addressDetail": "string",
"area": "string",
"policeCode": "string",
"policeName": "string",
"juridicalPersonName": "string",
"juridicalPersonIdCard": "string",
"juridicalPersonPhoto": "string",
"juridicalPersonPhone": "string",
"roomNum": 0,
"bedNum": 0,
"blCode": "string",
"blName": "string",
"blPhoto": "string",
"operatorName": "string",
"operatorPhone": "string",
"operatorIdCardNo": "string",
"operatorIdCardPhoto": "string",
"locationPhoto": "string",
"floorPlan": "string",
"proofOfPlace": "string",
"proofOfLegalUse": "string",
"realNameRegCommitment": "string",
"filingApplicationForm": "string",
"entranceExteriorPhoto": "string",
"fireFightingPhoto": "string",
"employeeForm": "string",
"checkInTime": "string",
"checkOutTime": "string",
"wxOpenId": "string",
"unionId": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://yzt.hntpxx.com/api/manager/register' \
--header 'token: undefined' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "string",
"password": "string",
"hotelName": "string",
"category": 0,
"lng": 0,
"lat": 0,
"address": "string",
"addressDetail": "string",
"area": "string",
"policeCode": "string",
"policeName": "string",
"juridicalPersonName": "string",
"juridicalPersonIdCard": "string",
"juridicalPersonPhoto": "string",
"juridicalPersonPhone": "string",
"roomNum": 0,
"bedNum": 0,
"blCode": "string",
"blName": "string",
"blPhoto": "string",
"operatorName": "string",
"operatorPhone": "string",
"operatorIdCardNo": "string",
"operatorIdCardPhoto": "string",
"locationPhoto": "string",
"floorPlan": "string",
"proofOfPlace": "string",
"proofOfLegalUse": "string",
"realNameRegCommitment": "string",
"filingApplicationForm": "string",
"entranceExteriorPhoto": "string",
"fireFightingPhoto": "string",
"employeeForm": "string",
"checkInTime": "string",
"checkOutTime": "string",
"wxOpenId": "string",
"unionId": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
string
必需
msg
string
必需
示例
{
"code": 200,
"data": "信息已提交,审核中",
"msg": "success"
}