unicom

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BroadbandOrder

type BroadbandOrder struct {
	Usermob string `json:"userid,omitempty"`
	Endtime string `json:"endtime,omitempty"`
	Channel string `json:"channel,omitempty"`
}

type Unicom

type Unicom struct {
	Id          int        `json:"-"`
	Spid        int        `json:"spid"`
	CardType    int        `json:"cardtype"`
	TypeInt     int        `json:"type"`
	Unicomtype  int        `json:"unicomtype,omitempty"`
	Ordertypes  int        `json:"-"`
	Channelcode int        `json:"-"`
	Usermob     string     `json:"-"`
	Cpid        string     `json:"-"`
	Ordertime   xtime.Time `json:"ordertime"`
	Canceltime  xtime.Time `json:"canceltime,omitempty"`
	Endtime     xtime.Time `json:"endtime,omitempty"`
	Province    string     `json:"-"`
	Area        string     `json:"-"`
	Videoid     string     `json:"-"`
	Time        xtime.Time `json:"-"`
	Flowbyte    int        `json:"flowbyte"`
}

func (*Unicom) UnicomChange

func (u *Unicom) UnicomChange()

UnicomChange

func (*Unicom) UnicomJSONTOUincom

func (u *Unicom) UnicomJSONTOUincom(usermob string, ujson *UnicomJson)

UnicomJSONTOUincom

type UnicomIP

type UnicomIP struct {
	Ipbegin     int    `json:"-"`
	Ipend       int    `json:"-"`
	IPStartUint uint32 `json:"-"`
	IPEndUint   uint32 `json:"-"`
}

func (*UnicomIP) UnicomIPChange

func (u *UnicomIP) UnicomIPChange()

func (*UnicomIP) UnicomIPStrToint

func (u *UnicomIP) UnicomIPStrToint(ipstart, ipend string)

type UnicomIpJson

type UnicomIpJson struct {
	Ipbegin   string `json:"ipbegin"`
	Ipend     string `json:"ipend"`
	Provinces string `json:"province"`
	Isopen    string `json:"isopen"`
	Opertime  string `json:"opertime"`
	Sign      string `json:"sign"`
}

type UnicomJson

type UnicomJson struct {
	Usermob     string `json:"usermob"`
	Userphone   string `json:"userphone"`
	Cpid        string `json:"cpid"`
	Spid        string `json:"spid"`
	TypeInt     string `json:"type"`
	Ordertime   string `json:"ordertime"`
	Canceltime  string `json:"canceltime"`
	Endtime     string `json:"endtime"`
	Channelcode string `json:"channelcode"`
	Province    string `json:"province"`
	Area        string `json:"area"`
	Ordertypes  string `json:"ordertype"`
	Videoid     string `json:"videoid"`
	Time        string `json:"time"`
	FlowbyteStr string `json:"flowbyte"`
}

func (*UnicomJson) UnicomJSONChange

func (u *UnicomJson) UnicomJSONChange() (err error)

type UnicomUserFlow

type UnicomUserFlow struct {
	Phone      int    `json:"phone"`
	Mid        int64  `json:"mid"`
	Integral   int    `json:"integral"`
	Flow       int    `json:"flow"`
	Outorderid string `json:"outorderid"`
	Orderid    string `json:"orderid"`
	Desc       string `json:"desc"`
}

type UnicomUserIP

type UnicomUserIP struct {
	IPStr    string `json:"ip"`
	IsValide bool   `json:"is_valide"`
}

type UserBind

type UserBind struct {
	Usermob  string    `json:"usermob,omitempty"`
	Phone    int       `json:"phone"`
	Mid      int64     `json:"mid"`
	Name     string    `json:"name,omitempty"`
	State    int       `json:"state,omitempty"`
	Integral int       `json:"integral"`
	Flow     int       `json:"flow"`
	Monthly  time.Time `json:"monthly,omitempty"`
}

type UserBindInfo

type UserBindInfo struct {
	MID    int64  `json:"mid"`
	Phone  int    `json:"phone"`
	Action string `json:"action"`
}

type UserLog

type UserLog struct {
	Phone    int    `json:"phone,omitempty"`
	Integral int    `json:"integral,omitempty"`
	Desc     string `json:"pack_desc,omitempty"`
	Ctime    string `json:"ctime,omitempty"`
}

func (*UserLog) UserLogJSONChange

func (t *UserLog) UserLogJSONChange(jsonData string) (err error)

type UserPack

type UserPack struct {
	ID       int64  `json:"id"`
	Type     int    `json:"type"`
	Desc     string `json:"desc"`
	Amount   int    `json:"amount"`
	Capped   int8   `json:"capped"`
	Integral int    `json:"integral"`
	Param    string `json:"param"`
	State    int    `json:"state,omitempty"`
}

type UserPackLimit

type UserPackLimit struct {
	IsLimit int `json:"is_limit"`
	Count   int `json:"count"`
}

type UserPackLog

type UserPackLog struct {
	Phone     int    `json:"phone,omitempty"`
	Usermob   string `json:"usermob,omitempty"`
	Mid       int64  `json:"mid,omitempty"`
	RequestNo string `json:"request_no,omitempty"`
	Type      int    `json:"pack_type"`
	Desc      string `json:"-"`
	UserDesc  string `json:"pack_desc,omitempty"`
	Integral  int    `json:"integral,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL