Documentation
¶
Overview ¶
Code generated by goctl. DO NOT EDIT.
Index ¶
- type BaseDataInfo
- type BaseIDInfo
- type BaseListInfo
- type BaseMsgResp
- type BaseUUIDInfo
- type CreateDemoOrderReq
- type DemoOrderInfo
- type DemoOrderListResp
- type IDAtPathReq
- type IDPathReq
- type IDReq
- type IDsReq
- type NotifyRep
- type OrderDetail
- type OrderDetailResp
- type OrderExtension
- type OrderInfo
- type OrderInfoResp
- type OrderPageReq
- type OrderPageResp
- type OrderSubmitReq
- type OrderSubmitResp
- type PageAtPath
- type PageAtPathInfo
- type PageInfo
- type PayOrderNotifyReq
- type PayRefundNotifyReq
- type ProductPropertyValueDetailResp
- type RefundInfo
- type RefundInfoResp
- type RefundPageReq
- type RefundPageResp
- type UUIDReq
- type UUIDsReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseDataInfo ¶
type BaseDataInfo struct { // Error code | 错误代码 Code int `json:"code"` // Message | 提示信息 Msg string `json:"msg"` // Data | 数据 Data string `json:"data,omitempty"` }
The basic response with data | 基础带数据信息 swagger:model BaseDataInfo
type BaseIDInfo ¶
type BaseIDInfo struct { // ID Id *uint64 `json:"id,optional"` // Create date | 创建日期 CreatedAt *int64 `json:"createdAt,optional"` // Update date | 更新日期 UpdatedAt *int64 `json:"updatedAt,optional"` }
The base ID response data | 基础ID信息 swagger:model BaseIDInfo
type BaseListInfo ¶
type BaseListInfo struct { // The total number of data | 数据总数 Total uint64 `json:"total"` // Data | 数据 Data string `json:"data,omitempty"` }
The basic response with data | 基础带数据信息 swagger:model BaseListInfo
type BaseMsgResp ¶
type BaseMsgResp struct { // Error code | 错误代码 Code int `json:"code"` // Message | 提示信息 Msg string `json:"msg"` }
The basic response without data | 基础不带数据信息 swagger:model BaseMsgResp
type BaseUUIDInfo ¶
type BaseUUIDInfo struct { // ID Id *string `json:"id,optional"` // Create date | 创建日期 CreatedAt *int64 `json:"createdAt,optional"` // Update date | 更新日期 UpdatedAt *int64 `json:"updatedAt,optional"` }
The base UUID response data | 基础UUID信息 swagger:model BaseUUIDInfo
type CreateDemoOrderReq ¶
type CreateDemoOrderReq struct {
SpuId uint64 `json:"spuId"`
}
swagger:model createDemoOrderReq
type DemoOrderInfo ¶
type DemoOrderInfo struct { Id *uint64 `json:"id"` CreateAt *int64 `json:"createAt"` UpdateAt *int64 `json:"updateAt"` SpuId *uint64 `json:"spuId"` SpuName *string `json:"spuName"` Price *int32 `json:"price"` PayStatus *bool `json:"payStatus"` PayOrderId *uint64 `json:"payOrderId" validate:"omitempty,"` PayTime *int64 `json:"payTime" validate:"omitempty,"` PayChannelCode *string `json:"payChannelCode" validate:"omitempty,"` PayRefundId *uint64 `json:"payRefundId" validate:"omitempty,"` RefundPrice *int32 `json:"refundPrice" validate:"omitempty,"` RefundTime *int64 `json:"refundTime" validate:"omitempty,"` }
demoOrder demoOrder information | demoOrder信息 swagger:model DemoOrderInfo
type DemoOrderListResp ¶
type DemoOrderListResp struct { BaseListInfo Data []*DemoOrderInfo `json:"data"` }
swagger:model DemoOrderListResp
type IDAtPathReq ¶
type IDAtPathReq struct { // ID // Required: true Id uint64 `path:"id" validate:"number"` }
Basic ID request | 基础ID参数请求 swagger:model IDAtPathReq
type IDPathReq ¶
type IDPathReq struct { // ID // Required: true Id uint64 `path:"id"` }
Basic ID request | 基础ID地址参数请求 swagger:model IDPathReq
type IDReq ¶
type IDReq struct { // ID // Required: true Id uint64 `json:"id" validate:"number"` }
Basic ID request | 基础ID参数请求 swagger:model IDReq
type IDsReq ¶
type IDsReq struct { // IDs // Required: true Ids []uint64 `json:"ids"` }
Basic IDs request | 基础ID数组参数请求 swagger:model IDsReq
type OrderDetail ¶
type OrderDetail struct { OrderInfo Extension *OrderExtension `json:"extension"` }
type OrderDetailResp ¶
type OrderDetailResp struct { BaseDataInfo Data *OrderDetail `json:"data"` }
swagger:model OrderDetailResp
type OrderExtension ¶
type OrderInfo ¶
type OrderInfo struct { BaseIDInfo // Status Status *uint32 `json:"status,optional"` // ChannelCode ChannelCode *string `json:"channelCode,optional"` // MerchantOrderId MerchantOrderId *string `json:"merchantOrderId,optional"` // Subject Subject *string `json:"subject,optional"` // Body Body *string `json:"body,optional"` // Price Price *int32 `json:"price,optional"` // ChannelFeeRate ChannelFeeRate *float64 `json:"channelFeeRate,optional"` // ChannelFeePrice ChannelFeePrice *int32 `json:"channelFeePrice,optional"` // UserIp UserIp *string `json:"userIp,optional"` // ExpireTime ExpireTime *int64 `json:"expireTime,optional"` // SuccessTime SuccessTime *int64 `json:"successTime,optional"` // NotifyTime NotifyTime *int64 `json:"notifyTime,optional"` // ExtensionId ExtensionId *uint64 `json:"extensionId,optional"` // No No *string `json:"no,optional"` // RefundPrice RefundPrice *int32 `json:"refundPrice,optional"` // ChannelUserId ChannelUserId *string `json:"channelUserId,optional"` // ChannelOrderNo ChannelOrderNo *string `json:"channelOrderNo,optional"` }
The response data of order information | Order信息 swagger:model OrderInfo
type OrderInfoResp ¶
type OrderInfoResp struct { BaseDataInfo Data *OrderInfo `json:"data"` }
swagger:model OrderInfoResp
type OrderPageReq ¶
type OrderPageReq struct { PageInfo ChannelCode *string `json:"channelCode"` Status *uint32 `json:"status"` MerchantOrderId *string `json:"merchantOrderId"` ChannelOrderNo *string `json:"channelOrderNo"` No *string `json:"no"` CreateAt []int64 `json:"createAt"` }
swagger:model OrderPageReq
type OrderPageResp ¶
type OrderPageResp struct { BaseListInfo Data []*OrderInfo `json:"data"` }
swagger:model OrderPageResp
type OrderSubmitReq ¶
type OrderSubmitReq struct { Id uint64 `json:"id"` ChannelCode string `json:"channelCode"` ChannelExtras map[string]string `json:"channelExtras,optional"` DisplayMode string `json:"displayMode,optional"` ReturnUrl string `json:"returnUrl,optional"` }
swagger:model OrderSubmitReq
type OrderSubmitResp ¶
type OrderSubmitResp struct { Status *uint32 `json:"status"` DisplayMode *string `json:"displayMode"` DisplayContent *string `json:"displayContent"` }
swagger:model OrderSubmitResp
type PageAtPath ¶
type PageAtPathInfo ¶
type PageAtPathInfo struct { // Page number | 第几页 // required : true // min : 0 Page uint64 `form:"page" validate:"required,number,gt=0"` // Page size | 单页数据行数 // required : true // max : 100000 PageSize uint64 `form:"pageSize" validate:"required,number,lt=100000"` }
The page request parameters | 列表请求参数 swagger:model PageAtPathInfo
type PageInfo ¶
type PageInfo struct { // Page number | 第几页 // required : true // min : 0 Page uint64 `json:"page" validate:"required,number,gt=0"` // Page size | 单页数据行数 // required : true // max : 100000 PageSize uint64 `json:"pageSize" validate:"required,number,lt=100000"` }
The page request parameters | 列表请求参数 swagger:model PageInfo
type PayOrderNotifyReq ¶
type PayOrderNotifyReq struct { MerchantOrderId string `json:"merchantOrderId"` PayOrderId uint64 `json:"payOrderId"` }
swagger:model PayOrderNotifyReq
type PayRefundNotifyReq ¶
type PayRefundNotifyReq struct { MerchantOrderId string `json:"merchantOrderId"` PayRefundId uint64 `json:"payRefundId"` }
swagger:model PayRefundNotifyReq
type ProductPropertyValueDetailResp ¶
type ProductPropertyValueDetailResp struct { // propertyId PropertyId *uint64 `json:"propertyId"` // propertyName PropertyName *string `json:"propertyName"` // valueId ValueId *uint64 `json:"valueId"` // valueName ValueName *string `json:"valueName"` }
swagger:model ProductPropertyValueDetailResp
type RefundInfo ¶
type RefundInfo struct { Id *uint64 `json:"id"` CreatedAt *int64 `json:"createdAt"` UpdatedAt *int64 `json:"updatedAt"` Status *uint32 `json:"status"` No *string `json:"no"` ChannelCode *string `json:"channelCode"` OrderId *uint64 `json:"orderId"` OrderNo *string `json:"orderNo"` MerchantOrderId *string `json:"merchantOrderId"` MerchantRefundId *string `json:"merchantRefundId"` PayPrice *int32 `json:"payPrice"` RefundPrice *int32 `json:"refundPrice"` Reason *string `json:"reason"` UserIp *string `json:"userIp"` ChannelOrderNo *string `json:"channelOrderNo"` ChannelRefundNo *string `json:"channelRefundNo"` SuccessTime *int64 `json:"successTime"` ChannelErrorCode *string `json:"channelErrorCode"` ChannelErrorMsg *string `json:"channelErrorMsg"` ChannelNotifyData *string `json:"channelNotifyData"` }
swagger:model RefundInfo
type RefundInfoResp ¶
type RefundInfoResp struct { BaseDataInfo Data *RefundInfo `json:"data"` }
swagger:model RefundInfoResp
type RefundPageReq ¶
type RefundPageReq struct { PageInfo ChannelCode *string `json:"channelCode"` Status *uint32 `json:"status"` MerchantOrderId *string `json:"merchantOrderId"` ChannelOrderNo *string `json:"channelOrderNo"` No *string `json:"no"` CreateAt []int64 `json:"createAt"` }
swagger:model RefundPageReq
type RefundPageResp ¶
type RefundPageResp struct { BaseListInfo Data []*RefundInfo `json:"data"` }
swagger:model RefundPageResp