Appearance
推送酒店价格(老接口)--废弃
- 请求方式:
POST - 请求地址:
/ns_hotel/pushHotelPrice
请求参数(Body)
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| appid | string | 是 | appid | e1b4091610411c4e212111 |
| template | string | 是 | 十位时间戳 | 1752136659 |
| sign | string | 是 | 签名(md5(‘ns’+appid+secretKey+template)) | 9a198f4fbc91ad836c53df120ec26a47 |
| id | number | 是 | 服务商酒店ID | 653074 |
| roomId | number | 是 | 服务商酒店房型ID | 886993 |
| planId | number | 是 | 服务商酒店房型计划ID | 1577454 |
| priceCode[0][date] | string | 是 | 价格日期(一次最多传30天价格) | 2025-07-19 |
| priceCode[0][cost] | number | 是 | 价格(系统都是以整数为准180.12 写成181或者180) | 800 |
| priceCode[0][amount] | number | 是 | 售卖间数 | 6 |
| priceCode[0][status] | number | 是 | 状态:0关房1:有房 | 0 |
| priceCode[1][date] | string | 是 | 价格日期(一次最多传30天价格) | 2025-07-20 |
| priceCode[1][cost] | string | 是 | 价格 | 700 |
| priceCode[1][amount] | string | 是 | 售卖间数 | 2 |
| priceCode[1][status] | string | 是 | 状态:0关房1:有房 | 1 |