Constants

AUTHORITY_PRODUCT_ADD

AUTHORITY_PRODUCT_ADD = 'house_product_add'

AUTHORITY_PRODUCT_REMOVE

AUTHORITY_PRODUCT_REMOVE = 'house_product_remove'

AUTHORITY_PRODUCT_EDIT

AUTHORITY_PRODUCT_EDIT = 'house_product_edit'

AUTHORITY_PRODUCT_READ

AUTHORITY_PRODUCT_READ = 'house_product_read'

AUTHORITY_PRODUCT_DETAILS

AUTHORITY_PRODUCT_DETAILS = 'house_product_details'

AUTHORITY_PRODUCT_STATE

AUTHORITY_PRODUCT_STATE = 'house_product_state'

AUTHORITY_PRODUCT_TRASH

AUTHORITY_PRODUCT_TRASH = "house_product_trash"

AUTHORITY_PRODUCT_TRASH_READ

AUTHORITY_PRODUCT_TRASH_READ = "house_product_trash_read"

AUTHORITY_PRODUCT_TRASH_EDIT

AUTHORITY_PRODUCT_TRASH_EDIT = "house_product_trash_edit"

AUTHORITY_PRODUCT_TRASH_RESTORE

AUTHORITY_PRODUCT_TRASH_RESTORE = "house_product_trash_restore"

AUTHORITY_PRODUCT_TOP_EDIT

AUTHORITY_PRODUCT_TOP_EDIT = 'house_product_top_edit'

AUTHORITY_PRODUCT_TOP_READ

AUTHORITY_PRODUCT_TOP_READ = 'house_product_top_read'

AUTHORITY_CONFIG_READ

AUTHORITY_CONFIG_READ = 'house_config_read'

AUTHORITY_CONFIG_EDIT

AUTHORITY_CONFIG_EDIT = 'house_config_edit'

Methods

api_self_init()

api_self_init(  $input = array()) : string

初始化

api: HOUSEPRODUCTSELFINIT req: null

Parameters

$input

Returns

string —

楼盘项目ID

api_self_edit()

api_self_edit(array  $input = array()) : string

编辑项目信息

api: HOUSEPRODUCTSELFEDIT req: { id [str] [必填] [楼盘项目ID] developer [str] [必填] [开发商] manage_company [str] [必填] [物业公司名称] manage_money [int] [必填] [物业费。分/平方] json [arr] [必填] [项目分析,项目动态]

type [str] [必填] [楼盘——类型] name [str] [必填] [楼盘——名称] total_floor [int] [必填] [楼盘——总层高,单位层] total_room [int] [必填] [楼盘——总体量,套] plot_ratio [dec] [必填] [楼盘——容积率] greening_rate [dec] [必填] [楼盘——绿化率]

room_rate [dec] [必填] [房子——得房率] room_state [int] [必填] [房子——销售状态。] ladder_ratio [str] [必填] [房子——梯户比。几梯几户]

agent_name [str] [必填] [经纪人——对接人姓名] agent_phone [int] [必填] [经纪人——渠道公司电话] agent_commision [int] [必填] [经纪人——参考佣金] agent_company [str] [必填] [经纪人——销售公司]

province [str] [必填] [位置——省] city [str] [必填] [位置——市] district [str] [必填] [位置——区] address [str] [必填] [位置——地址] longitude [dec] [必填] [位置——经度] latitude [dec] [必填] [位置——纬度]

time_land [date] [必填] [拿地时间] time_sale [date] [必填] [开盘时间]

remark [str] [可选] [备注] }

Parameters

array $input

请求参数

Returns

string —

楼盘客户表ID

api_self_remove()

api_self_remove(  $input = array()) : boolean

删除 api: HOUSEPRODUCTSELFREMOVE req: { id [str] [必填] [楼盘项目ID] }

Parameters

$input

Returns

boolean

api_list()

api_list(array  $input = array()) : array

查询楼盘项目列表

api: HOUSEPRODUCTLIST req: list通用参数

Parameters

array $input

[请求参数]

Returns

array

api_list_map()

api_list_map(array  $input = array()) : array

楼盘图鉴 api: HOUSEPRODUCTLISTMAP

Parameters

array $input

[请求参数]

Returns

array

api_self_list()

api_self_list(  $input = array()) : array

查询列表数据

api: HOUSEPRODUCTSELFLIST req: { }

Parameters

$input

Returns

array

api_get()

api_get(array  $input = array()) : array

查询详情

api: HOUSEPRODUCTGET req: { id [str] [必填] [楼盘项目ID] }

Parameters

array $input

请求参数

Returns

array

api_house_get()

api_house_get(  $input = array()) : object

查询楼盘信息

api: HOUSEGET req: { name [str] [必填] [楼盘名称] }

Parameters

$input

Returns

object

api_config_type()

api_config_type() : array

查询楼盘项目类型

api: HOUSEPRODUCTCONFIGTYPE req: null

Returns

array

_check_agent_state_()

_check_agent_state_(array  $input = array()) : void

检测当前用户是否合法经纪人

Parameters

array $input

请求参数

_check_product_image()

_check_product_image(string  $house_product_id = '') : void

检测楼盘图片

Parameters

string $house_product_id

楼盘项目ID