123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- package models
- type CreateMerchantRequest struct {
- OpenId string `json:"open_id"`
- MerchantName string `json:"merchant_name"`
- Industry string `json:"industry"`
- IndustryCategory string `json:"industry_category"`
- Contacts string `json:"contacts"`
- BusinessHours string `json:"business_hours"`
- Consumption string `json:"consumption"`
- Iphone string `json:"iphone"`
- Area string `json:"area"`
- Address string `json:"address"`
- NumberPlate string `json:"number_plate"`
- BusinessLicenseUrl string `json:"business_license_url"`
- DoorHeaderUrl string `json:"door_header_url"`
- RechargeUrl string `json:"recharge_url"`
- }
- type GetMerchantRequest struct {
- OpenId string `json:"open_id"`
- }
- type GetRechargeRequest struct {
- OpenId string `json:"open_id"`
- }
- type GetRechargeReply struct {
- RechargeUrl string `json:"recharge_url"`
- }
- type MerchantListRequest struct {
- OpenId string `json:"open_id"`
- PageSize int `json:"page_size"`
- PageIndex int `json:"page_index"`
- }
- type UpdateMerchantRequest struct {
- ID int64 `json:"id"`
- MerchantName string `json:"merchant_name"`
- Industry string `json:"industry"`
- IndustryCategory string `json:"industry_category"`
- Contacts string `json:"contacts"`
- BusinessHours string `json:"business_hours"`
- Consumption string `json:"consumption"`
- Iphone string `json:"iphone"`
- Area string `json:"area"`
- Address string `json:"address"`
- NumberPlate string `json:"number_plate"`
- BusinessLicenseUrl string `json:"business_license_url"`
- DoorHeaderUrl string `json:"door_header_url"`
- RechargeUrl string `json:"recharge_url"`
- }
- type CancelCardRequest struct {
- MerchantOpenId string `json:"merchant_open_id"`
- QRMessage string `json:"qr_message"`
- }
- type CancelCardV2Request struct {
- MerchantOpenId string `json:"merchant_open_id"`
- QRMessage string `json:"qr_message"`
- Number int `json:"number"`
- }
- type RechargeCancelRequest struct {
- AccountId int64 `json:"account_id"`
- CancelAmount string `json:"cancel_amount"`
- ChargeMerchantCancel []ChargeMerchantCancel `json:"charge_merchant_cancel"`
- MerchantOpenId string `json:"merchant_open_id"`
- }
- type ChargeMerchantCancel struct {
- TicketId int64 `json:"ticket_id"`
- CancelQuantity int `json:"cancel_quantity"`
- }
|