1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- 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"`
- }
|