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

api_data(array  $data = array()) : array

获取配置数据 $data = array( "config_id" 获取某一个配置 )

HOUSEADMINCONFIGDATA {"class":"house/admin_config","method":"api_data"}

Parameters

array $data

Returns

array

api_edit()

api_edit(array  $data = array()) : boolean

编辑配置信息

HOUSEADMINCONFIGEDIT {"class":"house/admin_config","method":"api_edit"}

Parameters

array $data

Returns

boolean

_check_agent_state_()

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

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

Parameters

array $input

请求参数