Documentation ¶
Index ¶
- type AddEmployeeRequest
- type AddProLog
- type AddPropertyInfoRequest
- type AddQZQGPropertyInfoRequest
- type AdminStoretransferRequest
- type AdvertRequest
- type AreaTypeRequest
- type CarouselRequest
- type DepartmentRequest
- type EditEmployeeRequest
- type EditUser
- type EditUserPass
- type IndustryRequest
- type LeaveMessageRequest
- type MenuRequest
- type PayInfoRequest
- type PayInfoRequestByProInfo
- type PayMethondRequest
- type PostRequest
- type RentTypeRequest
- type ReportRequest
- type ResponseData
- type RoleRequest
- type RoleRequestMenuPower
- type StoreTypeRequest
- type UserFindStoreRequest
- type UserLogin
- type UserPropertyInfoRequest
- type UserRegister
- type UserStoretransferRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddEmployeeRequest ¶
type AddEmployeeRequest struct { Nickname string `json:"nickname"` // 用户昵称 DepartmentID int64 `json:"department_id"` // 归属部门ID Phone string `json:"phone"` // 手机号码(登录) Email string `json:"email"` // 邮箱 QQ string `json:"QQ"` // QQ Username string `json:"username"` // 用户名称(登录) Password string `json:"password"` // 密码 Sex string `json:"sex"` // 性别 0:未知 | 1:男 | 2:女 (空或其他默认未知) Enable bool `json:"enable"` // 是否禁用 PostID int64 `json:"post_id"` // 岗位ID RoleID int64 `json:"role_id"` // 角色ID }
添加员工
type AddPropertyInfoRequest ¶
type AddPropertyInfoRequest struct { IndustryID int64 `form:"industry_id"` // 经营业态ID Title string `form:"title"` // 标题 Nickname string `form:"nickname"` // 联系人 Telephone string `form:"telephone"` // 联系手机 Image string `form:"image"` // 图片 ProvinceCode string `form:"province_code"` // 省代码 CityCode string `form:"city_code"` // 城市代码 DistrictCode string `form:"district_code"` // 区代码 StreetCode string `form:"street_code"` // 街道代码 Address string `form:"address"` // 详细地址 StoreTypeID int64 `form:"store_type_id"` // 店铺类型ID Idling bool `form:"idling"` // 可否空转 InOperation string `form:"in_operation"` // 是否营业中 0-新铺 | 1-空置中 | 2-营业中 Area string `form:"area"` // 面积(单位:平方米)(模型类型 : 0-转让 | 1-出售 | 3-出租) Rent string `form:"rent"` // 租金(单位:元/月)(模型类型 : 0-转让 | 1-出售 | 3-出租) TransferFee string `form:"transfer_fee"` // 转让费用(单位:万元 不录入则前台显示为面议) IndustryRanges string `form:"industry_ranges"` // 适合经营范围id , 多个用,分割 (模型类型 : 0-转让 | 1-出售 | 3-出租) Description string `form:"description"` // 详细描述 ShopName string `form:"shop_name"` // 店名 BusType string `form:"bus_type"` // 业务类型 0-商铺 | 1-写字楼 | 2-厂房仓库 ModelType string `form:"model_type"` // 模型类型 0-转让 | 1-出售 | 3-出租 ExplicitTel bool `form:"explicit_tel"` // 是否外显号码 true:客户号码 | false:发布者号码 Tel1 string `form:"tel1"` // 外显号码1 Tel2 string `form:"tel2"` // 外显号码2 Protect bool `form:"protect"` // 是否保护 QuotedPrice string `form:"quoted_price"` // 报价 Remake string `form:"remake"` // 跟进备注 }
添加物业信息
type AddQZQGPropertyInfoRequest ¶
type AddQZQGPropertyInfoRequest struct { IndustryID int64 `form:"industry_id"` // 经营业态ID Title string `form:"title"` // 标题 Nickname string `form:"nickname"` // 联系人 Telephone string `form:"telephone"` // 联系手机 Image string `form:"image"` // 图片 CityCode string `form:"city_code"` // 城市代码 Idling bool `form:"idling"` // 可否空转 InOperation string `form:"in_operation"` // 是否营业中 0-新铺 | 1-空置中 | 2-营业中 TransferFee string `form:"transfer_fee"` // 转让费用(单位:万元 不录入则前台显示为面议) Description string `form:"description"` // 详细描述 ShopName string `form:"shop_name"` // 店名 BusType string `form:"bus_type"` // 业务类型 0-商铺 | 1-写字楼 | 2-厂房仓库 ModelType string `form:"model_type"` // 模型类型 4-求租 | 5-求购 ExplicitTel bool `form:"explicit_tel"` // 是否外显号码 true:客户号码 | false:发布者号码 Tel1 string `form:"tel1"` // 外显号码1 Tel2 string `form:"tel2"` // 外显号码2 Protect bool `form:"protect"` // 是否保护 QuotedPrice string `form:"quoted_price"` // 报价 Remake string `form:"remake"` // 跟进备注 SourceInfo string `json:"source_info"` // 来源描述(模型类型 :3-求租 | 4-求购) MinArea float64 `json:"min_area"` // 最小面积(单位:平方米)(模型类型 :4-求租 | 5-求购) MaxArea float64 `json:"max_area"` // 最大面积(单位:平方米)(模型类型 :4-求租 | 5-求购) MinRent float64 `json:"min_rent"` // 最低租金(单位:元/月)(模型类型 :4-求租 | 5-求购) MaxRent float64 `json:"max_rent"` // 最高租金(单位:元/月)(模型类型 :4-求租 | 5-求购) Lots string `json:"lots"` // 考虑地段区域 (多个区域用,分割)(模型类型 :4-求租 | 5-求购) }
添加求租求购
type AdminStoretransferRequest ¶
type AdminStoretransferRequest struct { IndustryID int64 `json:"industry_id"` // 经营业态ID Title string `json:"title"` // 标题 Nickname string `json:"nickname"` // 联系人 Telephone string `json:"telephone"` // 联系手机 Image string `json:"image"` // 图片 ProvinceCode string `json:"province_code"` // 省代码 CityCode string `json:"city_code"` // 城市代码 DistrictCode string `json:"district_code"` // 区代码 StreetCode string `json:"street_code"` // 街道代码 Address string `json:"address"` // 详细地址 StoreTypeID int64 `json:"store_type_id"` // 店铺类型ID Idling bool `json:"idling"` // 可否空转 InOperation string `json:"in_operation"` // 是否营业中 0-新铺 | 1-空置中 | 2-营业中 Area float64 `json:"area"` // 面积(单位:平方米) Rent float64 `json:"rent"` // 租金(单位:元/月) TransferFee float64 `json:"transfer_fee"` // 转让费用(单位:万元 不录入则前台显示为面议) IndustryRanges []int64 `json:"industry_ranges"` // 适合经营范围id Description string `json:"description"` // 详细描述 ExplicitTel bool `json:"explicit_tel"` // 是否外显号码 true:客户号码 | false:发布者号码 Tel1 string `json:"tel1"` // 外显号码1 Tel2 string `json:"tel2"` // 外显号码2 QuotedPrice float64 `json:"quoted_price"` // 报价(后台录入,保护时显示) Remake string `json:"remake"` // 跟进备注 }
修改已发布物业信息
type AdvertRequest ¶
type AdvertRequest struct { Sort int64 `json:"sort"` // 显示排序 StartTime string `json:"start_time"` // 展示开始时间 EndTime string `json:"end_time"` // 展示结束时间 Hot bool `json:"hot"` // 首页最热推广 Floor bool `json:"floor"` // F楼 Type string `gorm:"size:1;" json:"type"` // 信息列表推广 1-一栏四分之一图片广告 | 2-二栏四分之一图片广告 | 3-三栏重点推荐 | 4-五栏框架广告 PropertyInfoID int64 `json:"property_info_id"` // 物业ID Enable bool `json:"enable"` // 是否已审核 }
广告请求
type AreaTypeRequest ¶
type AreaTypeRequest struct { MinArea float64 `json:"min_area"` // 最小面积(单位:平方米) MaxArea float64 `json:"max_area"` // 最大面积(单位:平方米) }
添加面积分类请求
type CarouselRequest ¶
type CarouselRequest struct { Url string `json:"url"` // 图片地址 Link string `json:"link"` // 跳转连接 Sort int64 `json:"sort"` // 排序 越大越靠前 }
轮播图
type DepartmentRequest ¶
type DepartmentRequest struct { Name string `json:"name"` // 部门名称 Sort int64 `json:"sort"` // 显示排序 Leading string `json:"leading"` // 负责人 Phone string `json:"phone"` // 联系电话 Email string `json:"email"` // 邮箱 Enable bool `json:"enable"` // 是否启用 ParentID int64 `json:"parent_id"` // 上级ID 0为最顶级 }
部门请求参数
type EditEmployeeRequest ¶
type EditEmployeeRequest struct { Nickname string `json:"nickname"` // 用户昵称 DepartmentID int64 `json:"department_id"` // 归属部门ID Phone string `json:"phone"` // 手机号码(登录) Email string `json:"email"` // 邮箱 QQ string `json:"QQ"` // QQ Username string `json:"username"` // 用户名称(登录) Sex string `json:"sex"` // 性别 0:未知 | 1:男 | 2:女 (空或其他默认未知) Enable bool `json:"enable"` // 是否启用 PostID int64 `json:"post_id"` // 岗位ID RoleID int64 `json:"role_id"` // 角色ID }
修改员工
type EditUser ¶
type EditUser struct { Username string `json:"username"` // 用户名 Telephone string `json:"telephone"` // 手机号码 Nickname string `json:"nickname"` // 姓名 Sex string `json:"sex"` // 性别 0:未知 | 1:男 | 2:女 (空或其他默认未知) Landlinenumber string `json:"landlinenumber"` // 座机号码 QQ string `json:"QQ"` // QQ Email string `json:"email"` // 邮箱 }
修改用户基础信息
type EditUserPass ¶
type EditUserPass struct { OldPass string `json:"old_pass"` // 旧密码 NewPass string `json:"new_pass"` // 新密码 }
修改用户密码
type IndustryRequest ¶
type IndustryRequest struct { Name string `json:"name"` // 行业名称 Sort int64 `json:"sort"` // 行业排序 越大越靠前 IsEnable bool `json:"is_enable"` // 是否启用 ParentID int64 `json:"parent_id"` // 父类型ID }
经营业态请求
type LeaveMessageRequest ¶
type LeaveMessageRequest struct { Content string `gorm:"size:200;" json:"content"` // 留言内容 Address string `gorm:"size:100;" json:"address"` // 详细地址 Telephone string `gorm:"size:20;" json:"telephone"` // 联系手机 Nickname string `gorm:"size:20;" json:"nickname"` // 联系人 }
留言
type MenuRequest ¶
type MenuRequest struct { Title string `json:"title"` // 菜单标题 Sort int64 `json:"sort"` // 显示排序 Icon string `json:"icon"` // 菜单图标 RouterName string `json:"router_name"` // 路由名称 RouterUrl string `json:"router_url"` // 路由地址 Enable bool `json:"enable"` // 是否启用 ParentID int64 `json:"parent_id"` // 上级ID 0为最顶级 }
菜单请求
type PayInfoRequest ¶
type PayInfoRequest struct { Name string `json:"name"` // 收款人姓名 PayeeID int64 `json:"payee_id"` // 业绩归属ID PayMethondID int64 `json:"pay_methond_id"` // 付款方式ID PayTime string `json:"pay_time"` // 收款时间 PayStatus string `json:"pay_status"` // 收款情况 ActualAmount float64 `json:"actual_amount"` // 实收金额 ReceivableAmount float64 `json:"receivable_amount"` // 应收金额 Invoice bool `json:"invoice"` // 发票 Remake string `json:"remake"` // 备注说明 ProInfoID int64 `json:"pro_info_id"` // 物业ID }
收款
type PayInfoRequestByProInfo ¶
type PayInfoRequestByProInfo struct { Name string `json:"name"` // 收款人姓名 PayeeID int64 `json:"payee_id"` // 业绩归属ID PayMethondID int64 `json:"pay_methond_id"` // 付款方式ID PayTime string `json:"pay_time"` // 收款时间 PayStatus string `json:"pay_status"` // 收款情况 ActualAmount float64 `json:"actual_amount"` // 实收金额 ReceivableAmount float64 `json:"receivable_amount"` // 应收金额 Invoice bool `json:"invoice"` // 发票 Remake string `json:"remake"` // 备注说明 }
收款
type PayMethondRequest ¶
type PayMethondRequest struct { Name string `json:"name"` // 付款方式名称 Card string `json:"card"` // 付款卡号 }
付款方式
type PostRequest ¶
type PostRequest struct { Name string `gorm:"size:50;unique" json:"name"` // 岗位名称 Code string `gorm:"size:50;unique" json:"code"` // 岗位编码 Sort int64 `json:"sort"` // 显示排序 Enable bool `json:"enable"` // 是否启用 }
岗位请求
type RentTypeRequest ¶
type RentTypeRequest struct { MinRent float64 `json:"min_rent"` // 最低租金(单位:元/月) MaxRent float64 `json:"max_rent"` // 最高租金(单位:元/月) }
添加租金分类请求
type ResponseData ¶
type ResponseData struct { Status bool `json:"status"` // 成功失败标志;true:成功 、false:失败 Data map[string]interface{} `json:"data"` // 返回数据 Message string `json:"message"` // 提示信息 }
返回结果
type RoleRequest ¶
type RoleRequest struct { Name string `json:"name"` // 角色名称 Sort int64 `json:"sort"` // 显示排序 Enable bool `json:"enable"` // 是否启用 MenuPowers []RoleRequestMenuPower `json:"menu_powers"` // 菜单权限 }
角色请求
type RoleRequestMenuPower ¶
type RoleRequestMenuPower struct {
MenuID int64 `json:"menu_id"` // 菜单ID
}
角色菜单权限
type StoreTypeRequest ¶
type StoreTypeRequest struct { Name string `json:"name"` // 类型名称 Sort int64 `json:"sort"` // 类型排序 越大越靠前 IsEnable bool `json:"is_enable"` // 是否启用 }
店铺类型请求
type UserFindStoreRequest ¶
type UserFindStoreRequest struct { IndustryID int64 `json:"industry_id"` // 经营业态ID Title string `json:"title"` // 标题 Nickname string `json:"nickname"` // 联系人 Telephone string `json:"telephone"` // 联系手机 StoreTypeID int64 `json:"store_type_id"` // 店铺类型ID Lots []string `json:"lots"` // 考虑地段 Description string `json:"description"` // 详细描述 MinArea float64 `json:"min_area"` // 最小面积(单位:平方米) MaxArea float64 `json:"max_area"` // 最大面积(单位:平方米) MinRent float64 `json:"min_rent"` // 最低租金(单位:元/月) MaxRent float64 `json:"max_rent"` // 最高租金(单位:元/月) }
用户提交我要找铺请求
type UserLogin ¶
type UserLogin struct { UserName string `json:"username"` // 用户名 Password string `json:"password"` // 密码 }
用户登录
type UserPropertyInfoRequest ¶
type UserPropertyInfoRequest struct { IndustryID int64 `json:"industry_id"` // 经营业态ID Title string `json:"title"` // 标题 Nickname string `json:"nickname"` // 联系人 ProvinceCode string `json:"province_code"` // 省代码 CityCode string `json:"city_code"` // 城市代码 DistrictCode string `json:"district_code"` // 区代码 StreetCode string `json:"street_code"` // 街道代码 StoreTypeID int64 `json:"store_type_id"` // 店铺类型ID MinArea float64 `json:"min_area"` // 最小面积(单位:平方米) MaxArea float64 `json:"max_area"` // 最大面积(单位:平方米) MinRent float64 `json:"min_rent"` // 最低租金(单位:元/月) MaxRent float64 `json:"max_rent"` // 最高租金(单位:元/月) }
查询用户已发布物业信息条件
type UserRegister ¶
type UserRegister struct { Telephone string `json:"telephone"` // 手机号码 Password string `json:"password"` // 密码 Code string `json:"code"` // 验证码 }
用户注册
type UserStoretransferRequest ¶
type UserStoretransferRequest struct { IndustryID int64 `json:"industry_id"` // 经营业态ID Title string `json:"title"` // 标题 Nickname string `json:"nickname"` // 联系人 Telephone string `json:"telephone"` // 联系手机 Image string `json:"image"` // 图片 ProvinceCode string `json:"province_code"` // 省代码 CityCode string `json:"city_code"` // 城市代码 DistrictCode string `json:"district_code"` // 区代码 StreetCode string `json:"street_code"` // 街道代码 Address string `json:"address"` // 详细地址 StoreTypeID int64 `json:"store_type_id"` // 店铺类型ID Idling bool `json:"idling"` // 可否空转 InOperation string `json:"in_operation"` // 是否营业中 0-新铺 | 1-空置中 | 2-营业中 Area float64 `json:"area"` // 面积(单位:平方米) Rent float64 `json:"rent"` // 租金(单位:元/月) TransferFee float64 `json:"transfer_fee"` // 转让费用(单位:万元 不录入则前台显示为面议) IndustryRanges []int64 `json:"industry_ranges"` // 适合经营范围id Description string `json:"description"` // 详细描述 }
用户提交店铺转让请求
Click to show internal directories.
Click to hide internal directories.