Back to godoc.org

Package adminController

v0.0.0-...-d4ad7b1
Latest Go to latest

The latest major version is .

Published: Aug 27, 2020 | License: Apache-2.0 | Module: github.com/Biubiubiuuuu/yuepuwebsite

Index

func AddAdvert

func AddAdvert(c *gin.Context)

@Summary 添加广告 @tags 后台 @Accept application/json @Produce json @Param body body entity.AdvertRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/advert [POST] @Security ApiKeyAuth

func AddCarousel

func AddCarousel(c *gin.Context)

@Summary 添加轮播 @tags 后台 @Accept multipart/form-data @Produce json @Param url formData file false "图片" @Param link formData string false "跳转链接" @Param sort formData int false "排序" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/carousel [POST] @Security ApiKeyAuth

func AddDepartment

func AddDepartment(c *gin.Context)

@Summary 添加部门 @tags 后台 @Accept application/json @Produce json @Param body body entity.DepartmentRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/department [POST] @Security ApiKeyAuth

func AddEmployee

func AddEmployee(c *gin.Context)

@Summary 添加员工 @tags 后台 @Accept application/json @Produce json @Param body body entity.AddEmployeeRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/employee [POST] @Security ApiKeyAuth

func AddIndustry

func AddIndustry(c *gin.Context)

@Summary 添加经营业态 @tags 后台 @Accept application/json @Produce json @Param body body entity.IndustryRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/industry [POST] @Security ApiKeyAuth

func AddMenu

func AddMenu(c *gin.Context)

@Summary 添加菜单 @tags 后台 @Accept application/json @Produce json @Param body body entity.MenuRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/menu [POST] @Security ApiKeyAuth

func AddPayInfo

func AddPayInfo(c *gin.Context)

@Summary 添加收款(收款列表) @tags 后台 @Accept application/json @Produce json @Param body body entity.PayInfoRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payInfo [GET] @Security ApiKeyAuth

func AddPayInfoByProInfo

func AddPayInfoByProInfo(c *gin.Context)

@Summary 添加收款(物业列表) @tags 后台 @Accept application/json @Produce json @Param body body entity.PayInfoRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/proInfo/payInfo [POST] @Security ApiKeyAuth

func AddPayMethond

func AddPayMethond(c *gin.Context)

@Summary 添加收款方式 @tags 后台 @Accept application/json @Produce json @Param body body entity.PayMethondRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payMethond [POST] @Security ApiKeyAuth

func AddPictures

func AddPictures(c *gin.Context)

@Summary 上传图集图片(单张) @tags 后台 @Accept multipart/form-data @Produce json @Param id path string true "物业信息ID" @Param image formData file false "图片" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/propertyInfos/{id}/picture [POST] @Security ApiKeyAuth

func AddPost

func AddPost(c *gin.Context)

@Summary 添加岗位 @tags 后台 @Accept application/json @Produce json @Param body body entity.PostRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/post [POST] @Security ApiKeyAuth

func AddProInfo

func AddProInfo(c *gin.Context)

@Summary 发布物业信息 @tags 后台 @Accept multipart/form-data @Produce json @Param title formData string true "标题" @Param nickname formData string true "客户姓名" @Param telephone formData string true "联系手机" @Param store_name formData string true "店名" @Param image formData file false "图片" @Param bus_type formData string false "业务类型 0-商铺 | 1-写字楼 | 2-厂房仓库" @Param model_type formData string false "模型类型 0-转让 | 1-出售 | 3-出租" @Param province_code formData string true "省代码"" @Param city_code formData string true "城市代码" @Param district_code formData string true "区代码" @Param street_code formData string false "街道代码" @Param address formData string true "详细地址" @Param industry_id formData int true "经营业态ID" @Param store_type_id formData int true "店铺类型ID" @Param idling formData bool true "可否空转" @Param in_operation formData string true "是否营业中 0-新铺 | 1-空置中 | 2-营业中" @Param area formData string true "面积(单位:平方米)" @Param rent formData string true "租金(单位:元/月)" @Param transfer_fee formData string false "转让费用(单位:万元 不录入则显示为面议)" @Param industry_ranges formData string true "适合经营范围id,多个用,拼接" @Param description formData string false "详细描述" @Param explicit_tel formData bool false "是否外显号码" @Param tel1 formData string false "外显号码1" @Param tel2 formData string false "外显号码2" @Param quoted_price formData string false "报价" @Param remake formData string false "跟进备注" @Param protect formData bool false "是否保护" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/new/propertyInfo [POST] @Security ApiKeyAuth

func AddProInfoLog

func AddProInfoLog(c *gin.Context)

@Summary 物业添加跟单记录 @tags 后台 @Accept application/json @Produce json @Param id path string true "物业信息ID" @Param body body entity.AddProLog true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/proInfo/log/{id} [POST] @Security ApiKeyAuth

func AddQZQGProInfo

func AddQZQGProInfo(c *gin.Context)

@Summary 发布求租求购 @tags 后台 @Accept multipart/form-data @Produce json @Param title formData string true "标题" @Param nickname formData string true "客户姓名" @Param telephone formData string true "联系手机" @Param store_name formData string true "店名" @Param image formData file false "图片" @Param bus_type formData string false "业务类型 0-商铺 | 1-写字楼 | 2-厂房仓库" @Param model_type formData string false "模型类型 0-转让 | 1-出售 | 3-出租" @Param city_code formData string true "城市代码" @Param industry_id formData int true "经营业态ID" @Param min_area query string false "最小面积" @Param max_area query string false "最大面积" @Param min_rent query string false "最小租金" @Param max_rent query string false "最大租金" @Param idling formData bool true "可否空转" @Param in_operation formData string true "是否营业中 0-新铺 | 1-空置中 | 2-营业中" @Param transfer_fee formData string false "转让费用(单位:万元 不录入则显示为面议)" @Param industry_ranges formData string true "适合经营范围id,多个用,拼接" @Param description formData string false "详细描述" @Param explicit_tel formData bool false "是否外显号码" @Param tel1 formData string false "外显号码1" @Param tel2 formData string false "外显号码2" @Param quoted_price formData string false "报价" @Param remake formData string false "跟进备注" @Param protect formData bool false "是否保护" @Param source_info formData string false "来源描述" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/new/qzqgPropertyInfo [POST] @Security ApiKeyAuth

func AddRole

func AddRole(c *gin.Context)

@Summary 添加角色 @tags 后台 @Accept application/json @Produce json @Param body body entity.RoleRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/role [POST] @Security ApiKeyAuth

func AddStoreType

func AddStoreType(c *gin.Context)

@Summary 添加店铺类型 @tags 后台 @Accept application/json @Produce json @Param body body entity.StoreTypeRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/storeType [POST] @Security ApiKeyAuth

func CreateAreaType

func CreateAreaType(c *gin.Context)

@Summary 添加面积分类 @tags 后台 @Accept application/json @Produce json @Param body body entity.AreaTypeRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/areaType [POST] @Security ApiKeyAuth

func CreateRentType

func CreateRentType(c *gin.Context)

@Summary 添加租金分类 @tags 后台 @Accept application/json @Produce json @Param body body entity.RentTypeRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/rentType [POST] @Security ApiKeyAuth

func DelAdvert

func DelAdvert(c *gin.Context)

@Summary 删除广告 @tags 后台 @Accept application/json @Produce json @Param ids path string true "ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/advert/{ids} [DELETE] @Security ApiKeyAuth

func DelAreaType

func DelAreaType(c *gin.Context)

@Summary 删除面积分类 @tags 后台 @Accept application/json @Produce json @Param ids path string true "面积分类ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/areaType/{ids} [DELETE] @Security ApiKeyAuth

func DelCarousel

func DelCarousel(c *gin.Context)

@Summary 删除轮播 @tags 后台 @Accept application/json @Produce json @Param ids path string true "ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/carousel/{ids} [DELETE] @Security ApiKeyAuth

func DelDepartment

func DelDepartment(c *gin.Context)

@Summary 删除部门 @tags 后台 @Accept application/json @Produce json @Param ids path string true "部门ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/department/{ids} [DELETE] @Security ApiKeyAuth

func DelEmployee

func DelEmployee(c *gin.Context)

@Summary 删除员工 @tags 后台 @Accept application/json @Produce json @Param ids path string true "用户ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/employee/{ids} [DELETE] @Security ApiKeyAuth

func DelIndustry

func DelIndustry(c *gin.Context)

@Summary 删除经营业态 @tags 后台 @Accept application/json @Produce json @Param ids path string true "租金分类ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/industry/{ids} [DELETE] @Security ApiKeyAuth

func DelMenu

func DelMenu(c *gin.Context)

@Summary 删除菜单 @tags 后台 @Accept application/json @Produce json @Param ids path string true "菜单ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/menu/{ids} [DELETE] @Security ApiKeyAuth

func DelPayInfo

func DelPayInfo(c *gin.Context)

@Summary 删除支付 @tags 后台 @Accept application/json @Produce json @Param ids path string true "ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payInfo/{ids} [DELETE] @Security ApiKeyAuth

func DelPayMethond

func DelPayMethond(c *gin.Context)

@Summary 删除支付方式 @tags 后台 @Accept application/json @Produce json @Param ids path string true "ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payMethond/{ids} [DELETE] @Security ApiKeyAuth

func DelPost

func DelPost(c *gin.Context)

@Summary 删除岗位 @tags 后台 @Accept application/json @Produce json @Param ids path string true "岗位ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/post/{ids} [DELETE] @Security ApiKeyAuth

func DelPrictures

func DelPrictures(c *gin.Context)

@Summary 删除图片(单张) @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param pro_id path string true "物业信息ID" @Param pri_id path string true "图片ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/propertyInfos/{pro_id}/picture/{pri_id} [DELETE] @Security ApiKeyAuth

func DelProInfo

func DelProInfo(c *gin.Context)

@Summary 删除物业信息 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param id path string false "物业ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/new/propertyInfo/{id} [DELETE] @Security ApiKeyAuth

func DelRentType

func DelRentType(c *gin.Context)

@Summary 删除租金分类 @tags 后台 @Accept application/json @Produce json @Param ids path string true "租金分类ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/rentType/{ids} [DELETE] @Security ApiKeyAuth

func DelRole

func DelRole(c *gin.Context)

@Summary 删除角色 @tags 后台 @Accept application/json @Produce json @Param ids path string true "角色ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/role/{ids} [DELETE] @Security ApiKeyAuth

func DelStoreType

func DelStoreType(c *gin.Context)

@Summary 删除店铺类型 @tags 后台 @Accept application/json @Produce json @Param ids path string true "租金分类ID 多个用,分开" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/storeType/{ids} [DELETE] @Security ApiKeyAuth

func EditAdvert

func EditAdvert(c *gin.Context)

@Summary 修改广告 @tags 后台 @Accept application/json @Produce json @Param id path string false "广告ID" @Param body body entity.AdvertRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/advert/{id} [PUT] @Security ApiKeyAuth

func EditAreaType

func EditAreaType(c *gin.Context)

@Summary 修改面积分类 @tags 后台 @Accept application/json @Produce json @Param id path string true "面积分类ID" @Param body body entity.AreaTypeRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/areaType/{id} [PUT] @Security ApiKeyAuth

func EditCarousel

func EditCarousel(c *gin.Context)

@Summary 修改轮播 @tags 后台 @Accept multipart/form-data @Produce json @Param id path string false "轮播ID" @Param body body entity.CarouselRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/carousel/{id} [PUT] @Security ApiKeyAuth

func EditDepartment

func EditDepartment(c *gin.Context)

@Summary 修改部门 @tags 后台 @Accept application/json @Produce json @Param id path string true "部门ID" @Param body body entity.DepartmentRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/department/{id} [PUT] @Security ApiKeyAuth

func EditIndustry

func EditIndustry(c *gin.Context)

@Summary 修改经营业态 @tags 后台 @Accept application/json @Produce json @Param id path string true "经营业态ID" @Param body body entity.IndustryRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/industry/{id} [PUT] @Security ApiKeyAuth

func EditNotProtectionProInfo

func EditNotProtectionProInfo(c *gin.Context)

@Summary 取消保护 @tags 后台 @Accept application/json @Produce json @Param id path string true "物业信息ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/propertyInfo/notprotect/{id} [POST] @Security ApiKeyAuth

func EditPayInfo

func EditPayInfo(c *gin.Context)

@Summary 修改收款(收款列表) @tags 后台 @Accept application/json @Produce json @Param id path string false "收款ID" @Param body body entity.PayInfoRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payInfo/{id} [PUT] @Security ApiKeyAuth

func EditPayInfoByProInfo

func EditPayInfoByProInfo(c *gin.Context)

@Summary 修改收款(物业列表) @tags 后台 @Accept application/json @Produce json @Param id path string false "物业ID" @Param body body entity.PayInfoRequestByProInfo true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/proInfo/payInfo/{id} [PUT] @Security ApiKeyAuth

func EditPayMethond

func EditPayMethond(c *gin.Context)

@Summary 修改收款方式 @tags 后台 @Accept application/json @Produce json @Param id path string false "收款方式ID" @Param body body entity.PayMethondRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payMethond/{id} [PUT] @Security ApiKeyAuth

func EditPost

func EditPost(c *gin.Context)

@Summary 修改岗位 @tags 后台 @Accept application/json @Produce json @Param id path string true "岗位ID" @Param body body entity.PostRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/post/{id} [PUT] @Security ApiKeyAuth

func EditProInfo

func EditProInfo(c *gin.Context)

@Summary 修改物业信息 @tags 后台 @Accept multipart/form-data @Produce json @Param id path string false "ID" @Param title formData string true "标题" @Param nickname formData string true "客户姓名" @Param telephone formData string true "联系手机" @Param store_name formData string true "店名" @Param image formData file false "图片" @Param bus_type formData string false "业务类型 0-商铺 | 1-写字楼 | 2-厂房仓库" @Param model_type formData string false "模型类型 0-转让 | 1-出售 | 3-出租" @Param province_code formData string true "省代码"" @Param city_code formData string true "城市代码" @Param district_code formData string true "区代码" @Param street_code formData string false "街道代码" @Param address formData string true "详细地址" @Param industry_id formData int true "经营业态ID" @Param store_type_id formData int true "店铺类型ID" @Param idling formData bool true "可否空转" @Param in_operation formData string true "是否营业中 0-新铺 | 1-空置中 | 2-营业中" @Param area formData string true "面积(单位:平方米)" @Param rent formData string true "租金(单位:元/月)" @Param transfer_fee formData string false "转让费用(单位:万元 不录入则显示为面议)" @Param industry_ranges formData string true "适合经营范围id,多个用,拼接" @Param description formData string false "详细描述" @Param explicit_tel formData bool false "是否外显号码" @Param tel1 formData string false "外显号码1" @Param tel2 formData string false "外显号码2" @Param quoted_price formData string false "报价" @Param remake formData string false "跟进备注" @Param protect formData bool false "是否保护" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/new/propertyInfo/{id} [PUT] @Security ApiKeyAuth

func EditProInfoSuccess

func EditProInfoSuccess(c *gin.Context)

@Summary 物业成功 @tags 后台 @Accept application/json @Produce json @Param id path string true "物业ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/proInfos/success/{id} [PUT] @Security ApiKeyAuth

func EditProtectionProInfo

func EditProtectionProInfo(c *gin.Context)

@Summary 保护 @tags 后台 @Accept application/json @Produce json @Param id path string true "物业信息ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/propertyInfo/protect/{id} [POST] @Security ApiKeyAuth

func EditQZQGProInfo

func EditQZQGProInfo(c *gin.Context)

@Summary 修改求租求购 @tags 后台 @Accept multipart/form-data @Produce json @Param id path string false "ID" @Param title formData string true "标题" @Param nickname formData string true "客户姓名" @Param telephone formData string true "联系手机" @Param store_name formData string true "店名" @Param image formData file false "图片" @Param bus_type formData string false "业务类型 0-商铺 | 1-写字楼 | 2-厂房仓库" @Param model_type formData string false "模型类型 0-转让 | 1-出售 | 3-出租" @Param city_code formData string true "城市代码" @Param industry_id formData int true "经营业态ID" @Param min_area query string false "最小面积" @Param max_area query string false "最大面积" @Param min_rent query string false "最小租金" @Param max_rent query string false "最大租金" @Param idling formData bool true "可否空转" @Param in_operation formData string true "是否营业中 0-新铺 | 1-空置中 | 2-营业中" @Param transfer_fee formData string false "转让费用(单位:万元 不录入则显示为面议)" @Param industry_ranges formData string true "适合经营范围id,多个用,拼接" @Param description formData string false "详细描述" @Param explicit_tel formData bool false "是否外显号码" @Param tel1 formData string false "外显号码1" @Param tel2 formData string false "外显号码2" @Param quoted_price formData string false "报价" @Param remake formData string false "跟进备注" @Param protect formData bool false "是否保护" @Param source_info formData string false "来源描述" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/new/qzqgPropertyInfo/{id} [PUT] @Security ApiKeyAuth

func EditRentType

func EditRentType(c *gin.Context)

@Summary 修改租金分类 @tags 后台 @Accept application/json @Produce json @Param id path string true "租金分类ID" @Param body body entity.RentTypeRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/rentType/{id} [PUT] @Security ApiKeyAuth

func EditRole

func EditRole(c *gin.Context)

@Summary 修改角色 @tags 后台 @Accept application/json @Produce json @Param id path string true "角色ID" @Param body body entity.RoleRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/role/{id} [PUT] @Security ApiKeyAuth

func EditStoreType

func EditStoreType(c *gin.Context)

@Summary 修改店铺类型 @tags 后台 @Accept application/json @Produce json @Param id path string true "经营业态ID" @Param body body entity.StoreTypeRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/storeType/{id} [PUT] @Security ApiKeyAuth

func EditUser

func EditUser(c *gin.Context)

@Summary 修改员工信息 @tags 后台 @Accept application/json @Produce json @Param id path string true "员工ID" @Param body body entity.EditEmployeeRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/employee/{id} [PUT] @Security ApiKeyAuth

func EditUserPass

func EditUserPass(c *gin.Context)

@Summary 修改用户密码 @tags 后台 @Accept application/json @Produce json @Param body body entity.EditUserPass true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/edituserpass [POST] @Security ApiKeyAuth

func EditUserStoretransfer

func EditUserStoretransfer(c *gin.Context)

@Summary 修改物业信息 @tags 后台 @Accept multipart/form-data @Produce json @Param id path string true "物业信息ID" @Param industry_id formData string true "经营业态ID" @Param title formData string true "标题" @Param nickname formData string true "联系人" @Param telephone formData string true "联系手机" @Param image formData file false "图片" @Param province_code formData string true "省代码"" @Param city_code formData string true "城市代码" @Param district_code formData string true "区代码" @Param street_code formData string false "街道代码" @Param address formData string true "详细地址" @Param store_type_id formData string true "店铺类型ID" @Param idling formData bool true "可否空转" @Param area formData string true "面积(单位:平方米)" @Param in_operation formData string true "是否营业中 0-新铺 | 1-空置中 | 2-营业中" @Param rent formData string true "租金(单位:元/月)" @Param transfer_fee formData string false "转让费用(单位:万元 不录入则显示为面议)" @Param industry_ranges formData string true "适合经营范围id,多个用,拼接" @Param description formData string false "详细描述"" @Param explicit_tel formData bool false "是否外显号码" @Param tel1 formData string false "外显号码1" @Param tel2 formData string false "外显号码2" @Param quoted_price formData string false "报价" @Param remake formData string false "跟进备注" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/propertyInfo/{id} [PUT] @Security ApiKeyAuth

func Editmenu

func Editmenu(c *gin.Context)

@Summary 修改菜单 @tags 后台 @Accept application/json @Produce json @Param id path string true "菜单ID" @Param body body entity.MenuRequest true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/menu/{id} [PUT] @Security ApiKeyAuth

func GetEmployee

func GetEmployee(c *gin.Context)

@Summary 获取员工列表 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param nickname query string false "用户昵称" @Param username query string false "用户名" @Param enable query string false "是否启用" @Param telephone query string false "电话号码" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/employee [GET] @Security ApiKeyAuth

func Login

func Login(c *gin.Context)

@Summary 用户登录 @tags 后台 @Accept application/json @Produce json @Param body body entity.UserLogin true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/login [POST]

func QueryAdvert

func QueryAdvert(c *gin.Context)

@Summary 广告列表 @tags 后台 @Accept application/json @Produce json @Param hot query bool false "首页最热推广" @Param floor query bool false "F楼" @Param type query string false "信息列表推广 1-一栏四分之一图片广告 | 2-二栏四分之一图片广告 | 3-三栏重点推荐 | 4-五栏框架广告" @Param enable query bool false "是否已审核" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/advert [GET] @Security ApiKeyAuth

func QueryAdvertByID

func QueryAdvertByID(c *gin.Context)

@Summary 广告详情 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param id path string false "广告ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/advert/{id} [GET] @Security ApiKeyAuth

func QueryAreaType

func QueryAreaType(c *gin.Context)

@Summary 查询面积分类 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/areaType [GET] @Security ApiKeyAuth

func QueryAreaTypeInfoById

func QueryAreaTypeInfoById(c *gin.Context)

@Summary 查询面积分类详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "面积分类ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/areaType/{id} [GET] @Security ApiKeyAuth

func QueryCarousel

func QueryCarousel(c *gin.Context)

@Summary 轮播列表 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/carousel [GET] @Security ApiKeyAuth

func QueryCarouselByID

func QueryCarouselByID(c *gin.Context)

@Summary 轮播详情 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param id path string false "轮播ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/carousel/{id} [GET] @Security ApiKeyAuth

func QueryDepartment

func QueryDepartment(c *gin.Context)

@Summary 查询部门 @tags 后台 @Accept application/json @Produce json @Param name query string false "部门名称" @Param enable query string false "是否启用" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/department [GET] @Security ApiKeyAuth

func QueryDepartmentByID

func QueryDepartmentByID(c *gin.Context)

@Summary 查询部门详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "部门ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/department/{id} [GET] @Security ApiKeyAuth

func QueryEmployeeById

func QueryEmployeeById(c *gin.Context)

@Summary 获取员工详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "员工ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/employee/{id} [GET] @Security ApiKeyAuth

func QueryIndustry

func QueryIndustry(c *gin.Context)

@Summary 查询行业类型 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param name query string false "行业名称" @Param enable query string false "是否启用" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/industry [GET] @Security ApiKeyAuth

func QueryIndustryByID

func QueryIndustryByID(c *gin.Context)

@Summary 查询行业分类详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "行业分类ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/industry/{id} [GET] @Security ApiKeyAuth

func QueryLeaveMessage

func QueryLeaveMessage(c *gin.Context)

@Summary 留言列表 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/leaveMessage [GET] @Security ApiKeyAuth

func QueryLeaveMessageByID

func QueryLeaveMessageByID(c *gin.Context)

@Summary 留言详情 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param id path string false "留言ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/leaveMessage/{id} [GET] @Security ApiKeyAuth

func QueryMenu

func QueryMenu(c *gin.Context)

@Summary 查看菜单 @tags 后台 @Accept application/json @Produce json @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/menu [GET] @Security ApiKeyAuth

func QueryMenuByID

func QueryMenuByID(c *gin.Context)

@Summary 查看菜单详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "菜单ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/menu/{id} [GET] @Security ApiKeyAuth

func QueryPayInfo

func QueryPayInfo(c *gin.Context)

@Summary 收款详情(收款列表) @tags 后台 @Accept application/json @Produce json @Param id path string false "ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payInfo/{id} [GET] @Security ApiKeyAuth

func QueryPayInfoByProInfo

func QueryPayInfoByProInfo(c *gin.Context)

@Summary 收款详情(物业列表) @tags 后台 @Accept application/json @Produce json @Param id path string false "物业ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/proInfo/payInfo/{id} [GET] @Security ApiKeyAuth

func QueryPayInfos

func QueryPayInfos(c *gin.Context)

@Summary 收款列表 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param payee_id query string false "业绩归属人ID" @Param pay_methond_id query string false "支付方式ID" @Param pay_month query string false "按月查询" @Param pay_year query string false "按年查询" @Param name query string false "收款人" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payInfo [GET] @Security ApiKeyAuth

func QueryPayMethond

func QueryPayMethond(c *gin.Context)

@Summary 收款方式列表 @tags 后台 @Accept application/json @Produce json @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payMethond [GET] @Security ApiKeyAuth

func QueryPayMethondByID

func QueryPayMethondByID(c *gin.Context)

@Summary 收款方式详情 @tags 后台 @Accept application/json @Produce json @Param id path string false "ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/payMethond/{id} [GET] @Security ApiKeyAuth

func QueryPost

func QueryPost(c *gin.Context)

@Summary 查询所有岗位 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param name query string false "岗位名称" @Param code query string false "岗位编码" @Param enable query string false "是否启用" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/post [GET] @Security ApiKeyAuth

func QueryPostByID

func QueryPostByID(c *gin.Context)

@Summary 查询岗位详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "岗位ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/post/{id} [GET] @Security ApiKeyAuth

func QueryProInfoLog

func QueryProInfoLog(c *gin.Context)

@Summary 跟单记录详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "物业信息ID" @Param body body entity.AddProLog true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/proInfo/log/{id} [GET] @Security ApiKeyAuth

func QueryPropertyInfoByID

func QueryPropertyInfoByID(c *gin.Context)

@Summary 查看物业详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "物业信息ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/propertyInfo/{id} [GET] @Security ApiKeyAuth

func QueryRentType

func QueryRentType(c *gin.Context)

@Summary 查询租金分类 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/rentType [GET] @Security ApiKeyAuth

func QueryRentTypeInfoById

func QueryRentTypeInfoById(c *gin.Context)

@Summary 查询租金分类详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "租金分类ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/rentType/{id} [GET] @Security ApiKeyAuth

func QueryReport

func QueryReport(c *gin.Context)

@Summary 举报列表 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/report [GET] @Security ApiKeyAuth

func QueryReportByID

func QueryReportByID(c *gin.Context)

@Summary 举报详情 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param id path string false "举报ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/report/{id} [GET] @Security ApiKeyAuth

func QueryRole

func QueryRole(c *gin.Context)

@Summary 查询角色 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param name query string false "角色名称" @Param enable query string false "是否启用" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/role [GET] @Security ApiKeyAuth

func QueryRoleByID

func QueryRoleByID(c *gin.Context)

@Summary 查询角色详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "角色ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/role/{id} [GET] @Security ApiKeyAuth

func QueryStoreType

func QueryStoreType(c *gin.Context)

@Summary 查询店铺类型 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param name query string false "店铺类型名称" @Param enable query string false "是否启用" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/storeType [GET] @Security ApiKeyAuth

func QueryStoreTypeByID

func QueryStoreTypeByID(c *gin.Context)

@Summary 查询店铺类型详情 @tags 后台 @Accept application/json @Produce json @Param id path string true "店铺类型ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/storeType/{id} [GET] @Security ApiKeyAuth

func QueryUser

func QueryUser(c *gin.Context)

@Summary 查看用户信息 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin [GET] @Security ApiKeyAuth

func QueryUserMenu

func QueryUserMenu(c *gin.Context)

@Summary 获取用户菜单 @tags 后台 @Accept application/json @Produce json @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/rolemenus [GET] @Security ApiKeyAuth

func SearchPropertyInfo

func SearchPropertyInfo(c *gin.Context)

@Summary 查询我的已发布物业信息 @tags 后台 @Accept application/x-www-form-urlencoded @Produce json @Param industry_id query string false "行业ID" @Param store_type_id query string false "店铺类型ID" @Param province_code query string false "省代码" @Param city_code query string false "城市代码" @Param district_code query string false "区代码" @Param street_code query string false "街道代码" @Param area_type_id query string false "面积范围ID" @Param rent_type_id query string false "租金范围ID" @Param min_area query string false "最小面积" @Param max_area query string false "最大面积" @Param min_rent query string false "最小租金" @Param max_rent query string false "最大租金" @Param model_type query string true "模型类型 0-转让 | 1-出售 | 3-出租 | 4-求租 | 5-求购" @Param bus_type query string false "业务类型 0-商铺 | 1-写字楼 | 2-厂房仓库" @Param sort_condition query string false "排序 area-面积 | rent-租金 | created_at-发布时间(默认)" @Param status query string false "是否成功 查询我的已成功信息传true;查询我的历史重点信息true" @Param protect query string false "是否保护 查询我的重点信息传true;查询我的历史重点信息true" @Param created_at query string false "创建时间" @Param pageSize query string false "页大小 (默认30)" @Param page query string false "跳转页码" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/propertyInfo [GET] @Security ApiKeyAuth

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier