File size: 672 Bytes
7107f0b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package quqi

import (
	"github.com/alist-org/alist/v3/internal/driver"
	"github.com/alist-org/alist/v3/internal/op"
)

type Addition struct {
	driver.RootID
	Phone    string `json:"phone"`
	Password string `json:"password"`
	Cookie   string `json:"cookie" help:"Cookie can be used on multiple clients at the same time"`
	CDN      bool   `json:"cdn" help:"If you enable this option, the download speed can be increased, but there will be some performance loss"`
}

var config = driver.Config{
	Name:      "Quqi",
	OnlyLocal: true,
	LocalSort: true,
	//NoUpload:    true,
	DefaultRoot: "0",
}

func init() {
	op.RegisterDriver(func() driver.Driver {
		return &Quqi{}
	})
}