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_upload()

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

上传楼盘图片

api: HOUSEPRODUCTIAMAGESELFUPLOAD req: { product_id [str] [可选] [楼盘项目ID] type [str] [必填] [图片类型] }

Parameters

array $input

请求参数

Returns

string —

图片ID

api_self_remove()

api_self_remove(  $input = array()) : boolean

删除图片

api: HOUSEPRODUCTIMAGESELFREMOVE req: { image_id [str] [必填] [图片ID] }

Parameters

$input

Returns

boolean

api_config_type()

api_config_type() : array

查询楼盘项目图片类型

api: HOUSEPRODUCTIMAGECONFIGTYPE req: null

Returns

array

_check_agent_state_()

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

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

Parameters

array $input

请求参数