Discover Packages
git.sxidc.com/meta-bussiness/depend_service
mbom
package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Nov 18, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CommonCreateOrderRequest struct {
OpenID string `json:"openId" binding:"required"`
TotalFee int `json:"totalFee" binding:"required"`
CommodityName string `json:"commodityName" binding:"required"`
IP string `json:"ip" binding:"required"`
Notify string `json:"notify"`
}
type GetOrdersQuery struct {
ID string `form:"id"`
OpenID string `form:"openId"`
TypeCode uint8 `form:"typeCode"`
PageNo int `form:"pageNo"`
PageSize int `form:"pageSize"`
}
type GetOrdersResponse struct {
PageNo int `json:"pageNo"`
TotalCount int64 `json:"totalCount"`
Infos []OrderInfo `json:"infos"`
}
type NotifyOrderRequest struct {
OrderID string `json:"orderId"`
Msg string `json:"msg"`
}
type OrderInfo struct {
ID string `json:"id"`
OpenID string `json:"openId"`
TotalFee int `json:"totalFee"`
TypeCode uint8 `json:"typeCode"`
CommodityName string `json:"commodityName"`
CreateTime string `json:"createTime"`
State uint8 `json:"state"`
Msg string `json:"msg"`
IP string `json:"iP"`
}
type RechargeOrderInfo struct {
OrderID string `json:"orderId"`
CreateTime string `json:"createTime"`
TimeStamp string `json:"timeStamp"`
Nonce string `json:"nonceStr"`
Package string `json:"package"`
SignType string `json:"signType"`
PaySign string `json:"paySign"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.