[TOC]
## 委托第三方房源
* 請求地址: `/house_entrust/entrust`
* 請求方式: post
* 請求參數:
| 字段名 | 字段類型 | 字段長度 | 必填 | 字段說明 |
| --- | --- | --- | --- | --- |
| `province_id` | int | 11 | `是` | 省id |
| `h_province` | string | 2-16 | `是` | 省名 |
| `city_id` | int | 11 | `是` | 市id |
| `h_city` | string | 2-16 | `是` | 市名 |
| `county_id` | int | 11 | `是` | 區(縣)id |
| `h_county` | string | 2-16 | `是` | 區(縣)名 |
| `landmark_id` | int | 11 | `是` | 地標id |
| `h_landmark` | string | 2-32 | `是` | 地標名 |
| `community_id` | int | 11 | `是` | 小區id |
| `h_community` | string | 2-32 | `是` | 小區名 |
| `company_name` | string | 2-128 | `是` | 公司名 |
| `company_address` | string | 2-160 | `是` | 公司地址 |
| `principal_name` | string | 2-16 | `是` | 負責人姓名 |
| `principal_phone` | string | 11 | `是` | 負責人手機號 |
| `account_type` | int | 4 | `是` | 賬戶類型 |
| `account_name` | string | 2-64 | `是` | 公司或者個人賬戶姓名 |
| `account_address` | string | 2-128 | `是` | 開戶行支行地址 |
| `account` | string | 2-64 | `是` | 收款賬號 |
| `s_time` | date | 0 | `是` | 合作開始時間 |
| `e_time` | date | 0 | `是` | 合作結束時間 |
| `divided_way` | int | 4 | `是` | 短租分利方式 |
| `proportion` | int | 4 | 否 | 按照比例的比例尺度 |
| `day_money` | int | 20 | 否 | 按天的金額 |
| `cooperation_deposit` | int | 20 | `是` | 合作的押金 |
| `title` | string | 2-16 | `是` | 門店名 |
| `address` | string | 2-160 | `是` | 門店地址 |
| `sale_name` | string | 2-16 | `是` | 銷售姓名 |
| `sale_phone` | string | 11 | `是` | 銷售手機號 |
| `h_unit` | string | 2-32 | 是(選填) | 小區單元樓層 |
| `h_swap` | int | 11 | `是` | 是否允許調換(0:不允許 1:允許) |
| `metro_id` | int | 11 | 是(選填) | 地鐵線路id |
| `h_metro` | int | 11 | 是(選填) | 地鐵線路 |
| `site_id` | int | 11 | 是(選填) | 地鐵站點id |
| `h_site` | string | 2-16 | 是(選填) | 地鐵站點名 |
| `h_type` | string | 2-16 | `是` | 房源戶型 |
| `h_floor` | string | 2-16 | 是(選填) | 所在樓層 |
| `h_fitment` | string | 2-16 | `是` | 裝修名 |
| `h_sex` | int | 4 | `是` | 性別限制(0:女 1:男 2:不限) |
| `h_area` | int | 11 | `是` | 房源面積 |
| `r_mode` | int | 11 | `是` | 出租模式(數字選擇只選一個) |
| `h_rent` | int | 20 | `是` | 租金(以分為單位) |
| `l_name` | string | 2-16 | `是` | 房東姓名 |
| `l_phone` | string | 11 | `是` | 房東手機號 |
| `h_facilities` | json | 11 | `是` | 配套設施 |
| `other` | string | 2-255 | 是 | 其他說明(選填) |
>[info] 出租方式 0 短租合租 1 短租整租 2 長租整租 3 長租合租 4 長短合租 5 長短整租
> 賬戶類型 0 公司 1 個人
> 分利方式 0 按天 1 按比例
* 成功返回:
```json
{
"code": 0
}
```
* 失敗返回:
```json
{
"code": -1,
"msg": "參數錯誤!"
}
```