Documentation
¶
Index ¶
- func Weekday(t time.Time) (w string)
- type ArcState
- type Balance
- type Bill
- type BillList
- type BpayAccount
- type ChargeBill
- type Earnings
- type EleRelation
- type MonthBill
- type Notify
- type Rank
- type RecentElec
- type RecentElecList
- type Remark
- type RemarkList
- type Status
- type UserInfo
- type UserState
- type Wall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArcState ¶
type ArcState struct { Show bool `json:"show"` State int16 `json:"state"` Total int `json:"total"` Count int `json:"count"` Reason string `json:"reason"` List json.RawMessage `json:"list,omitempty"` User json.RawMessage `json:"user,omitempty"` }
ArcState arc elec info.
type Balance ¶
type Balance struct { Ts string `json:"ts"` BrokerageAudit int8 `json:"brokerage_audit"` BpayAcc *BpayAccount `json:"bpay_account"` Wallet *Wall `json:"wallet"` }
Balance get battery balance.
type Bill ¶
type Bill struct { ID int64 `json:"id"` MID int64 `json:"mid"` ChannelType int8 `json:"channelType"` ChannelTyName string `json:"channelTypeName"` AddNum float32 `json:"addNum"` ReduceNum float32 `json:"reduceNum"` WalletBalance float32 `json:"walletBalance"` DateVersion string `json:"dateVersion"` Weekday string `json:"weekday"` Remark string `json:"remark"` MonthBillResp *MonthBill `json:"monthBillResp"` }
Bill bill detail.
type BillList ¶
type BillList struct { List []*Bill `json:"list"` TotalCount int `json:"totalCount"` Pn int `json:"pn"` Ps int `json:"ps"` }
BillList daily bill list.
type BpayAccount ¶
type BpayAccount struct { Brokerage float32 `json:"brokerage"` DefaultBp float32 `json:"default_bp"` }
BpayAccount shell detail.
type ChargeBill ¶
type ChargeBill struct { List []*Bill `json:"list"` Pager struct { Current int `json:"current"` Size int `json:"size"` Total int `json:"total"` } `json:"pager"` }
ChargeBill daily bill for app charge.
type Earnings ¶
type Earnings struct { State int8 `json:"state"` Balance float32 `json:"balance"` Brokerage float32 `json:"brokerage"` }
Earnings for elec.
type EleRelation ¶
type EleRelation struct { RetList []struct { Mid int64 `json:"mid"` IsElec bool `json:"is_elec"` } `json:"ret_list"` }
EleRelation get elec relation.
type MonthBill ¶
type MonthBill struct { LastMonthNum float32 `json:"last_month_num"` ServiceNum float32 `json:"service_num"` BkNum float32 `json:"bk_num"` }
MonthBill month bill.
type Rank ¶
type Rank struct { MID int64 `json:"mid"` PayMID int64 `json:"pay_mid"` Rank int64 `json:"rank"` Uname string `json:"uname"` Avatar string `json:"avatar"` IsFriend bool `json:"isfriend"` MTime string `json:"mtime"` }
Rank up rank.
type RecentElec ¶
type RecentElec struct { AID int64 `json:"aid"` MID int64 `json:"mid"` ElecNum float32 `json:"elec_num"` Title string `json:"title"` Uname string `json:"uname"` Avatar string `json:"avatar"` OrderNO string `json:"-"` CTime string `json:"ctime"` }
RecentElec recent detail for app.
type RecentElecList ¶
type RecentElecList struct { List []*RecentElec `json:"list"` Pager struct { Current int `json:"current"` Size int `json:"size"` Total int `json:"total"` } `json:"pager"` }
RecentElecList recent list for app.
type Remark ¶
type Remark struct { ID int64 `json:"id"` AID int64 `json:"aid"` MID int64 `json:"mid"` ReplyMID int64 `json:"reply_mid"` ElecNum int64 `json:"elec_num"` State int8 `json:"state"` Msg string `json:"msg"` ArcName string `json:"aname"` Uname string `json:"uname"` Avator string `json:"avator"` ReplyName string `json:"reply_name"` ReplyAvator string `json:"reply_avator"` ReplyMsg string `json:"reply_msg"` CTime xtime.Time `json:"ctime"` ReplyTime xtime.Time `json:"reply_time"` }
Remark remark detail.
type RemarkList ¶
type RemarkList struct { List []*Remark `json:"list"` Pager struct { Current int `json:"current"` Size int `json:"size"` Total int `json:"total"` } `json:"pager"` }
RemarkList remark list.
type Status ¶
type Status struct {
Specialday int8 `json:"display_specialday"`
}
Status elec setting.
type UserInfo ¶
type UserInfo struct { ID int64 `json:"-"` Mid int64 `json:"mid"` State int16 `json:"state"` Reason string `json:"reason"` Count int16 `json:"-"` CTime xtime.Time `json:"-"` MTime xtime.Time `json:"-"` }
UserInfo user elec info.
Click to show internal directories.
Click to hide internal directories.