Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHeFeiFangJiaRecordReleaseInfo ¶
GetHeFeiFangJiaRecordReleaseInfo 获取发布信息,警告:此方法仅供学习参考,禁止用于商业
func GetHeFeiFangJiaRecordViewState ¶
GetHeFeiFangJiaRecordViewState 获取访问状态,警告:此方法仅供学习参考,禁止用于商业
Types ¶
type ProductCodeDto ¶
type ProductCodeDto struct {
ProductCode string `json:"product_code"` // 商品条码
ProductCodeImage string `json:"product_code_image"` // 商品条形码图片
CompanyName string `json:"company_name"` // 企业名称
CompanyAddress string `json:"company_address"` // 企业注册地址
ProductName string `json:"product_name"` // 产品名称
ProductCategory string `json:"product_category"` // 产品分类
Brand string `json:"brand"` // 品牌
ProductSpec string `json:"product_spec"` // 产品规格
StandardNo string `json:"standard_no"` // 标准号
StandardName string `json:"standard_name"` // 标准名称
ProductExp string `json:"product_exp"` // 保质期
UpMarketTime string `json:"up_market_time"` // 上市日期
DownMarketTime string `json:"down_market_time"` // 下市日期
ProductImageList []string `json:"product_image_list"` // 图片列表
}
ProductCodeDto 商品条码信息
func SearchByProductCode ¶
func SearchByProductCode(productCode string, debug bool) (*ProductCodeDto, error)
SearchByProductCode 根据商品条码查询商品信息,警告:此方法仅供学习参考,禁止用于商业
@productCode 商品条码 @debug 是否开启debug
func SearchByProductCodeCache ¶
func SearchByProductCodeCache(productCode string, debug bool) (productCodeDto *ProductCodeDto, err error)
SearchByProductCodeCache 根据商品条码查询商品信息,优先基于本地缓存,警告:此方法仅供学习参考,禁止用于商业 @productCode 商品条码
type RecordEstateDetailDTO ¶
type RecordEstateDetailDTO struct {
HrefId string `json:"href_id"` // 跳转详情ID
EstateName string `json:"estate_name"` // 楼盘名称
EstatePlace string `json:"estate_place"` // 坐落位置
EstateArea string `json:"estate_area"` // 所在区域
EnterpriseName string `json:"enterprise_name"` // 开发企业
PropertyCategories string `json:"property_categories"` // 物业类别
PropertyCompany string `json:"property_company"` // 物业公司
ProjectInfo string `json:"project_info"` // 项目信息
TrafficInfo string `json:"traffic_info"` // 交通信息
BuildType string `json:"build_type"` // 建筑类型
DesignCompany string `json:"design_company"` // 设计单位
AroundSupport string `json:"around_support"` // 周边配套
BuildNum string `json:"build_num"` // 幢数总计
Installments string `json:"installments"` // 开发周期
WallType string `json:"wall_type"` // 墙体类型
UserTime string `json:"user_time"` // 交付时间
BuildHeight string `json:"build_height"` // 住宅层高
BuildArea string `json:"build_area"` // 建筑面积
LandType string `json:"land_type"` // 土地性质
LandArea string `json:"land_area"` // 土地面积
LandStartTime string `json:"land_start_time"` // 土地开始使用时间
LandEndTime string `json:"land_end_time"` // 土地结束使用时间
AreaRate string `json:"area_rate"` // 容积率
GreenRate string `json:"green_rate"` // 绿化率
CarportRate string `json:"carport_rate"` // 机动车位配比率
}
RecordEstateDetailDTO 楼盘详情信息
func GetHeFeiFangJiaDetail ¶
func GetHeFeiFangJiaDetail(hrefId string) (*RecordEstateDetailDTO, string, int, error)
GetHeFeiFangJiaDetail 获取楼盘详情分页数据 @hrefId 跳转详情ID
type RecordHouseDetailDTO ¶
type RecordHouseDetailDTO struct {
HrefId string `json:"href_id"` // 跳转详情ID
HouseNumber string `json:"house_number"` // 楼号
RoomNumber string `json:"room_number"` // 房号
HouseType string `json:"house_type"` // 户型
HouseArea string `json:"house_area"` // 建筑面积
IndoorArea string `json:"indoor_area"` // 套内面积
AvgPrice string `json:"avg_price"` // 备案单价
TotalPrince string `json:"total_prince"` // 备案总价
BuildProperty string `json:"build_property"` // 楼盘属性
DecorateState string `json:"decorate_state"` // 装修属性
Remark string `json:"remark"` // 备注
}
RecordHouseDetailDTO 户型详情信息
func ListHeFeiFangJiaHousePage ¶
func ListHeFeiFangJiaHousePage(viewState string, hrefId string, pageNum int) ([]*RecordHouseDetailDTO, error)
ListHeFeiFangJiaHousePage 获取户型分页数据 @viewState 客户端状态 @hrefId 跳转详情ID @pageNum 页码
type RecordHousePriceDTO ¶
type RecordHousePriceDTO struct {
HrefId string `json:"href_id"` // 跳转详情ID
RecordNo string `json:"record_no"` // 备案号
EstateName string `json:"estate_name"` // 楼盘名称
HouseNumbers string `json:"house_numbers"` // 楼号
HouseArea string `json:"house_area"` // 建筑面积
HouseNum string `json:"house_num"` // 套数
AvgPrice string `json:"avg_price"` // 均价
}
RecordHousePriceDTO 商品住宅明码标价信息
func ListHeFeiFangJiaRecordPage ¶
func ListHeFeiFangJiaRecordPage(viewState string, pageNum int) ([]*RecordHousePriceDTO, error)
ListHeFeiFangJiaRecordPage 获取商品住宅明码标价分页数据 @viewState 客户端状态 @pageNum 页码
Click to show internal directories.
Click to hide internal directories.