123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- package v1
- import (
- "property-household-gateway/param/base"
- "property-household-gateway/pb/v1"
- )
- // 欠费线上缴费
- type ChargeBillPayByHouseholdBody struct {
- BillIds []int64 `form:"bill_ids" json:"bill_ids"`
- // 绑定关系id列表
- BindIds []int64 `form:"bind_ids" json:"bind_ids"`
- // 应缴
- ShouldPayAmount int64 `form:"should_pay_amount" json:"should_pay_amount"`
- // 实缴
- PayAmount int64 `form:"pay_amount" json:"pay_amount"`
- // 备注
- Comment string `form:"comment" json:"comment"`
- GardenId int64 `form:"garden_id" json:"garden_id"`
- }
- type ChargeBillPayByHouseholdRequest struct {
- base.Header
- ChargeBillPayByHouseholdBody
- }
- type ChargeBillPayByHouseholdResponse struct {
- base.Result
- Data v1.ChargeBillPayByHouseholdReply `json:"data"`
- }
- // 生活缴费代缴费和待支付
- type ChargeUnpayListQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- Page int64 `form:"page" json:"page"`
- PageSize int64 `form:"page_size" json:"page_size"`
- HouseId int64 `form:"house_id" json:"house_id"`
- }
- type ChargeUnpayListRequest struct {
- base.Header
- ChargeUnpayListQuery
- }
- type ChargeUnpayListResponse struct {
- base.Result
- Data v1.ChargeUnpayListReply `json:"data"`
- }
- // 查看费用,费项列表
- type ChargeListQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- // 对象id
- ObjId int64 `form:"obj_id" json:"obj_id"`
- // 对象类型
- ObjType int32 `form:"obj_type" json:"obj_type"`
- Page int64 `form:"page" json:"page"`
- PageSize int64 `form:"page_size" json:"page_size"`
- ChargeType int32 `form:"charge_type" json:"charge_type"`
- }
- type ChargeListRequest struct {
- base.Header
- ChargeListQuery
- }
- type ChargeListResponse struct {
- base.Result
- Data v1.ChargeListReply `json:"data"`
- }
- // 对象的某费项下的待缴账单列表
- type ChargeBillListQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- Page int64 `form:"page" json:"page"`
- PageSize int64 `form:"page_size" json:"page_size"`
- BindId int64 `form:"bind_id" json:"bind_id"`
- }
- type ChargeBillListRequest struct {
- base.Header
- ChargeBillListQuery
- }
- type ChargeBillListResponse struct {
- base.Result
- Data v1.ChargeBillListReply `json:"data"`
- }
- // 预缴物业费或车位费前获取对应的金额信息
- type ChargePrePayInfoQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- BindId int64 `form:"bind_id" json:"bind_id"`
- // 月数
- Months int64 `form:"months" json:"months"`
- }
- type ChargePrePayInfoRequest struct {
- base.Header
- ChargePrePayInfoQuery
- }
- type ChargePrePayInfoResponse struct {
- base.Result
- Data v1.ChargePrePayInfoReply `json:"data"`
- }
- type ChargePropertyMonthInfoQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- HouseId int64 `form:"house_id" json:"house_id"`
- }
- type ChargePropertyMonthInfoRequest struct {
- base.Header
- ChargePropertyMonthInfoQuery
- }
- type ChargePropertyMonthInfoResponse struct {
- base.Result
- Data v1.ChargeMonthInfoReply `json:"data"`
- }
- type ChargeSpaceMonthInfoQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- SpaceId int64 `form:"space_id" json:"space_id"`
- }
- type ChargeSpaceMonthInfoRequest struct {
- base.Header
- ChargeSpaceMonthInfoQuery
- }
- type ChargeSpaceMonthInfoResponse struct {
- base.Result
- Data v1.ChargeMonthInfoReply `json:"data"`
- }
- type ChargeVehicleMonthInfoQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- VehicleId int64 `form:"vehicle_id" json:"vehicle_id"`
- }
- type ChargeVehicleMonthInfoRequest struct {
- base.Header
- ChargeVehicleMonthInfoQuery
- }
- type ChargeVehicleMonthInfoResponse struct {
- base.Result
- Data v1.ChargeMonthInfoReply `json:"data"`
- }
- // 线上预缴
- type ChargePrePayByHouseholdBody struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- BindId int64 `form:"bind_id" json:"bind_id"`
- Months int64 `form:"months" json:"months"`
- // 应缴金额
- ShouldPayAmount int64 `form:"should_pay_amount" json:"should_pay_amount"`
- // 实缴金额
- PayAmount int64 `form:"pay_amount" json:"pay_amount"`
- // 套餐id
- PackageId int64 `form:"package_id" json:"package_id"`
- }
- type ChargePrePayByHouseholdRequest struct {
- base.Header
- ChargePrePayByHouseholdBody
- }
- type ChargePrePayByHouseholdResponse struct {
- base.Result
- Data v1.ChargePrePayByHouseholdReply `json:"data"`
- }
- // 缴费订单列表
- type ChargeOrderListQuery struct {
- Page int64 `form:"page,proto3" json:"page"`
- PageSize int64 `form:"page_size" json:"page_size"`
- GardenId int64 `form:"garden_id" json:"garden_id"`
- }
- type ChargeOrderListRequest struct {
- base.Header
- ChargeOrderListQuery
- }
- type ChargeOrderListResponse struct {
- base.Result
- Data v1.ChargeOrderListReply `json:"data"`
- }
- // 缴费订单详情
- type ChargeOrderInfoQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- OrderId string `form:"order_id" json:"order_id"`
- }
- type ChargeOrderInfoRequest struct {
- base.Header
- ChargeOrderInfoQuery
- }
- type ChargeOrderInfoResponse struct {
- base.Result
- Data v1.ChargeOrderInfoReply `json:"data"`
- }
- // 取消支付
- type ChargeOrderCancelBody struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- OrderId string `form:"order_id" json:"order_id"`
- // true 未支付订单中用户主动取消,false 前端判断未支付时主动调接口删除
- ByUser bool `form:"by_user" json:"by_user"`
- }
- type ChargeOrderCancelRequest struct {
- base.Header
- ChargeOrderCancelBody
- }
- type ChargeOrderCancelResponse struct {
- base.Result
- }
- type ChargePayedBillListQuery struct {
- GardenId int64 `form:"garden_id" json:"garden_id"`
- Page int64 `form:"page" json:"page"`
- PageSize int64 `form:"page_size" json:"page_size"`
- HouseId int64 `form:"house_id" json:"house_id"`
- PayTime int64 `form:"pay_time" json:"pay_time"`
- }
- type ChargePayedBillListRequest struct {
- base.Header
- ChargePayedBillListQuery
- }
- type ChargePayedBillListResponse struct {
- base.Result
- Data v1.ChargePayedBillListReply `json:"data"`
- }
- type ChargeWxPayTestBody struct {
- PayAmount int64 `form:"pay_amount" json:"pay_amount"`
- }
- type ChargeWxPayTestRequest struct {
- base.Header
- ChargeWxPayTestBody
- }
- type ChargeWxPayTestResponse struct {
- base.Result
- Data v1.WxAppletPrepayReply `json:"data"`
- }
|