123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- package model
- const (
- Article = int8(1)
- TypeVideo = int8(2)
- TypeMusic = int8(3)
- TypeTopic = int8(4)
- TypePlayVideo = int8(5)
- TypePlayList = int8(6)
- TypeBangumi = int8(7)
- TypeMoe = int8(8)
- TypeComic = int8(9)
- TypeEsports = int8(10)
- TypeMediaList = int8(11)
- TypeMusicNew = int8(12)
- )
- type ArgAllFolders struct {
- Type int8
- Mid int64
- Vmid int64
- Oid int64
- RealIP string
- }
- type ArgFolder struct {
- Type int8
- Fid int64
- Mid int64
- Vmid int64
- RealIP string
- }
- type ArgFVmid struct {
- Fid int64
- Vmid int64
- }
- func (f *ArgFVmid) MediaID() int64 {
- return f.Fid*100 + f.Vmid%100
- }
- type ArgFolders struct {
- Type int8
- Mid int64
- FVmids []*ArgFVmid
- RealIP string
- }
- type ArgAddFolder struct {
- Type int8
- Mid int64
- Name string
- Description string
- Cover string
- Public int8
- Cookie string
- AccessKey string
- RealIP string
- }
- type ArgUpdateFolder struct {
- Type int8
- Fid int64
- Mid int64
- Name string
- Description string
- Cover string
- Public int8
- Cookie string
- AccessKey string
- RealIP string
- }
- type ArgDelFolder struct {
- Type int8
- Mid int64
- Fid int64
- RealIP string
- }
- type ArgFavs struct {
- Type int8
- Mid int64
- Vmid int64
- Fid int64
- Tv int
- Tid int
- Pn int
- Ps int
- Keyword string
- Order string
- RealIP string
- }
- type ArgAdd struct {
- Type int8
- Mid int64
- Oid int64
- Fid int64
- RealIP string
- }
- type ArgDel struct {
- Type int8
- Mid int64
- Oid int64
- Fid int64
- RealIP string
- }
- type ArgAdds struct {
- Type int8
- Mid int64
- Oid int64
- Fids []int64
- RealIP string
- }
- type ArgDels struct {
- Type int8
- Mid int64
- Oid int64
- Fids []int64
- RealIP string
- }
- type ArgMultiAdd struct {
- Type int8
- Mid int64
- Oids []int64
- Fid int64
- RealIP string
- }
- type ArgMultiDel struct {
- Type int8
- Mid int64
- Oids []int64
- Fid int64
- RealIP string
- }
- type ArgIsFav struct {
- Type int8
- Mid int64
- Oid int64
- RealIP string
- }
- type ArgIsFavs struct {
- Type int8
- Mid int64
- Oids []int64
- RealIP string
- }
- type ArgInDefaultFolder struct {
- Type int8
- Mid int64
- Oid int64
- RealIP string
- }
- type ArgIsFavedByFid struct {
- Type int8
- Mid int64
- Oid int64
- Fid int64
- RealIP string
- }
- type ArgCntUserFolders struct {
- Type int8
- Mid int64
- Vmid int64
- RealIP string
- }
- type ArgAddVideo struct {
- Mid int64
- Fids []int64
- Aid int64
- Cookie string
- AccessKey string
- RealIP string
- }
- type ArgFavoredVideos struct {
- Mid int64
- Aids []int64
- RealIP string
- }
- type ArgUsers struct {
- Type int8
- Oid int64
- Pn int
- Ps int
- RealIP string
- }
- type ArgTlists struct {
- Type int8
- Mid int64
- Vmid int64
- Fid int64
- RealIP string
- }
- type ArgRecents struct {
- Type int8
- Mid int64
- Size int
- RealIP string
- }
|