123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- package apis
- // 创建数据api订单
- type ManagementCreateDataApiOrderReq struct {
- MerchantId int64 `json:"merchant_id" description:"商户id"`
- QueryTypeId int64 `json:"query_type_id" description:"查询方式id"`
- ComboId int64 `json:"combo_id" description:"" description:"套餐id"`
- Count int `json:"count" description:"购买数量"`
- BuyAccount string `json:"buy_account" description:"购买账号"`
- }
- type ManagementCreateDataApiOrderReply struct {
- OrderNo string `json:"order_no" description:""`
- StatusCode int `json:"status_code"`
- }
- // 支付数据api订单
- type ManagementPayDataApiOrderReq struct {
- OrderNo string `json:"order_no" description:""`
- }
- type ManagementPayDataApiOrderReply struct {
- }
- // 取消数据api订单
- type ManagementCancelDataApiOrderReq struct {
- OrderNo string `json:"order_no" description:""`
- IsCancel bool `json:"is_cancel"`
- }
- type ManagementCancelDataApiOrderReply struct {
- }
- // 修改数据api订单价格
- type ManagementChangeDataApiOrderPriceReq struct {
- OrderNo string `json:"order_no" description:""`
- Price float64 `json:"price" description:""`
- }
- type ManagementChangeDataApiOrderPriceReply struct {
- }
- // 获取数据api订单信息
- type MangementDataApiOrderConfirmReq struct {
- OrderNo string `json:"order_no" description:""`
- }
- type MangementDataApiOrderConfirmReply struct {
- }
- // 获取数据api订单信息
- type MangementGetDataApiOrderInfoReq struct {
- OrderNo string `json:"order_no" description:""`
- }
- type MangementGetDataApiOrderInfoReply struct {
- OrderInfo TGdDataApiOrder `json:"info"`
- }
- type ManagementMerchantOrderDetailInfoReq struct {
- OrderNo string `json:"order_no" description:""`
- MerchantId int64 `json:"merchant_id" description:"商户id"`
- }
- type TGdBankInfo struct {
- Id int64 `json:"id" description:""`
- BankAccount string `json:"bank_account"`
- BankUser string `json:"bank_user"`
- OpenBank string `json:"open_bank"`
- Remark string `json:"remark"`
- }
- type ManagementMerchantOrderDetailInfoReply struct {
- OrderInfo MerchantOrderItem `json:"info"`
- BankInfo TGdBankInfo `json:"bank_info"`
- }
- // 获取数据api订单列表
- type ManagementGetDataApiOrderListReq struct {
- MerchantId int64 `json:"merchant_id" description:""`
- PageNumber int `json:"page_number" description:""`
- DataApiName string `json:"data_api_name" description""`
- StatusCode int `json:"status_code" description:"订单状态"`
- StartTime string `json:"start_time" description:"下单开始时间"`
- EndTime string `json:"end_time" description:"下单结束时间"`
- }
- type DataApiOrderItem struct {
- OrderNo string `json:"order_no" description:""`
- DataApiName string `json:"data_api_name" description""`
- QueryType string `json:"query_type" description:""`
- ComboType string `json:"combo_type" description:"套餐规格"`
- Price float64 `json:"price" description:"订单价格"`
- Status string `json:"status" description:"订单状态"`
- AddOrderTime string `json:"add_order_time" description:"下单时间"`
- Count int `json:"count"`
- Type int `json:"type" description:"套餐类型 0 免费 1 按量 2 按天"`
- }
- type ManagementGetDataApiOrderListReply struct {
- Total int `json:"total" description:""`
- PageSize int `json:"page_size" description:""`
- PageNumber int `json:"page_number" description:""`
- DataApiOrderItem []DataApiOrderItem `json:"data_api_order_item"`
- }
- // 创建h5订单
- type ManagementCreateH5OrderReq struct {
- MerchantId int64 `json:"merchant_id"`
- H5ServiceId int64 `json:"h5_service_id"`
- ComboId int64 `json:"h5_combo_id"`
- ThemeColor string `json:"theme_color"`
- }
- type ManagementCreateH5OrderReply struct {
- OrderNo string `json:"order_no" description:""`
- }
- // 支付h5订单
- type ManagementPayH5OrderReq struct {
- OrderNo string `json:"order_no" description:""`
- }
- type ManagementPayH5OrderReply struct {
- }
- // 取消h5订单
- type ManagementCancelH5OrderReq struct {
- OrderNo string `json:"order_no" description:""`
- }
- type ManagementCancelH5OrderReply struct {
- }
- // 修改h5订单价格
- type ManagementChangeH5OrderPriceReq struct {
- OrderNo string `json:"order_no" description:""`
- Price float64 `json:"price" description:""`
- }
- type ManagementChangeH5OrderPriceReply struct {
- }
- // 获取h5订单信息
- type MangementGetH5OrderInfoReq struct {
- OrderNo string `json:"order_no" description:""`
- }
- type MangementGetH5OrderInfoReply struct {
- OrderInfo TGdH5ServiceOrder `json:"info"`
- }
- // 获取h5订单列表
- type ManagementGetH5OrderListReq struct {
- MerchantId int64 `json:"merchant_id" description:""`
- PageNumber int `json:"page_number" description:""`
- }
- type H5OrderItem struct {
- MerchantH5ServiceId int64 `json:"merchant_h5_service_id"`
- H5ServiceId int64 `json:"h5_service_id"`
- ComboType int `json:"combo_type" description:"套餐类型1 按总次数,2 按天"`
- TotalCount int `json:"total_count" description:""`
- RemainCount int `json:"remain_count" description:""`
- DayCount int `json:"day_count" description:""`
- DayRemainCount int `json:"day_remain_count" description:""`
- DayNumberCount int `json:"day_number_count" description:"天数上限"`
- DayNumberRemain int `json:"day_number_remain" description:"有效天数"`
- Status string `json:"status" description:""`
- UseTime string `json:"use_time" description:""`
- H5ServiceName string `json:"h5_service_name"`
- State string `json:"state"`
- }
- type ManagementGetH5OrderListReply struct {
- Total int `json:"total" description:""`
- PageSize int `json:"page_size" description:""`
- PageNumber int `json:"page_number" description:""`
- H5OrderItem []H5OrderItem `json:"h5_order_item"`
- }
|