{
"order_type": 1, //类型:1:全日房;3:钟点房;5:长租房
"market_id": 1,
"channel_id": 1,
"protocol_id": 0,
"team_id": 0,
"team_name": "上海团",
"user_name": "贺先生",
"mobile": "13357100292",
"check_in_date": "2025-10-05",
"check_out_date": "2025-10-06",
"hours": 4,
"salesman_id": 0,
"salesman_name": "张总监",
"remark": "贺总邀请的客人",
"order_rent": { //order_type=5时,本字段不能为空
"month_rent": 500, //月租金
"year_rent": 6000, //年租金
"deposit": 600, //押金
"park": "506", //车位
"pay_way": 3, //缴费方式(1:月付;3:季付;6:半年付;12:年付;99:一次性付)
"pay_month": 1, //缴费月(1:上月;2:本月)
"pay_day": 1, //缴费日(1-30日)
"property_money": 120, //物业费
"public_money": 200, //公摊费
"net_money": 300, //宽带费
"health_money": 600, //卫生费
"park_money": 500, //停车费
"other_money": 800 //其它费
},
"order_detail": [{
"room_type_id": 38,
"room_number_id": 341,
"hours": 4,
"first_money": 220,
"out_order_no": "7854123243446"
},
{
"room_type_id": 56,
"first_money": 220
}
]
}curl --location --request POST 'http://ebk/adminapi/pms/create_book' \
--header 'site-id: 100007' \
--header 'token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjEsInVzZXJuYW1lIjoiYWRtaW4iLCJpc3MiOiJlYmsiLCJhdWQiOiJlYmsiLCJpYXQiOjE3NTg4NzMxNjgsIm5iZiI6MTc1ODg3MzE2OCwiZXhwIjoxNzU5NDc3OTY4LCJqdGkiOiIxX2FkbWluIn0.xwZwcfgwpZtUboXlmBY3pmCGzRh281YYaZDIBEr7EGU' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_type": 1, //类型:1:全日房;3:钟点房;5:长租房
"market_id": 1,
"channel_id": 1,
"protocol_id": 0,
"team_id": 0,
"team_name": "上海团",
"user_name": "贺先生",
"mobile": "13357100292",
"check_in_date": "2025-10-05",
"check_out_date": "2025-10-06",
"hours": 4,
"salesman_id": 0,
"salesman_name": "张总监",
"remark": "贺总邀请的客人",
"order_rent": { //order_type=5时,本字段不能为空
"month_rent": 500, //月租金
"year_rent": 6000, //年租金
"deposit": 600, //押金
"park": "506", //车位
"pay_way": 3, //缴费方式(1:月付;3:季付;6:半年付;12:年付;99:一次性付)
"pay_month": 1, //缴费月(1:上月;2:本月)
"pay_day": 1, //缴费日(1-30日)
"property_money": 120, //物业费
"public_money": 200, //公摊费
"net_money": 300, //宽带费
"health_money": 600, //卫生费
"park_money": 500, //停车费
"other_money": 800 //其它费
},
"order_detail": [{
"room_type_id": 38,
"room_number_id": 341,
"hours": 4,
"first_money": 220,
"out_order_no": "7854123243446"
},
{
"room_type_id": 56,
"first_money": 220
}
]
}'{
"code": 0,
"msg": "string",
"data": {
"token": "string",
"expire_time": 0
}
}