Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderInfo ¶
type OrderInfo struct { PhoneID int `json:"phone"` OrderID int64 `json:"orderid"` OrderState int `json:"order_status"` IsRepeatorder int `json:"isrepeatorder"` SignNo string `json:"sign_no"` Begintime xtime.Time `json:"begintime"` Endtime xtime.Time `json:"endtime"` }
func (*OrderInfo) OrderInfoJSONChange ¶
func (t *OrderInfo) OrderInfoJSONChange(tjson *TelecomJSON)
type OrderPhoneState ¶
type OrderState ¶
type PayResultJSON ¶
type PhoneConsent ¶
type PhoneConsent struct {
Consent int `json:"consent"`
}
type RechargeJSON ¶
type SucOrder ¶
type SucOrder struct { FlowPackageID string `json:"flowPackageId,omitempty"` Domain string `json:"domain"` Port string `json:"port,omitempty"` PortInt int `json:"portInt"` KeyEffectiveDuration int `json:"keyEffectiveDuration"` OrderKey string `json:"orderKey"` FlowBalance int `json:"flowBalance"` FlowPackageSize int `json:"flowPackageSize"` AccessToken string `json:"accessToken"` OrderIDStr string `json:"orderId,omitempty"` OrderID int64 `json:"orderid"` }
type TelecomJSON ¶
type TelecomJSON struct { FlowpackageID int `json:"flowPackageId"` FlowPackageSize int `json:"flowPackageSize"` FlowPackageType int `json:"flowPackageType"` TrafficAttribution int `json:"trafficAttribution"` BeginTime string `json:"beginTime"` EndTime string `json:"endTime"` IsMultiplyOrder int `json:"isMultiplyOrder"` SettlementType int `json:"settlementType"` Operator int `json:"operator"` OrderStatus int `json:"orderStatus"` RemainedRebindNum int `json:"remainedRebindNum"` MaxbindNum int `json:"maxBindNum"` OrderID string `json:"orderId"` SignNo string `json:"signNo"` AccessToken string `json:"accessToken"` PhoneID string `json:"phoneId"` IsRepeatOrder int `json:"isRepeatOrder"` PayStatus int `json:"payStatus"` PayTime string `json:"payTime"` PayChannel int `json:"payChannel"` SignStatus string `json:"signStatus "` RefundStatus int `json:"refundStatus"` PayResult *PayResultJSON `json:"payResult,omitempty"` }
func (*TelecomJSON) TelecomJSONChange ¶
func (s *TelecomJSON) TelecomJSONChange()
type TelecomMessageJSON ¶
type TelecomOrderJson ¶
type TelecomOrderJson struct { RequestNo string `json:"requestNo"` ResultType int `json:"resultType"` Detail *TelecomJSON `json:"detail"` }
type TelecomRechargeJson ¶
type TelecomRechargeJson struct { RequestNo string `json:"requestNo"` ResultType int `json:"resultType"` Detail *RechargeJSON `json:"detail"` }
Click to show internal directories.
Click to hide internal directories.