Skip to content

Commit f68f3e9

Browse files
authored
fix(drivers/guangyapan): remove default value (#2894)
* fix(drivers/guangyapan): remove default value for ClientID Signed-off-by: MadDogOwner <xiaoran@xrgzs.top> * fix(drivers/guangyapan): remove unused configuration options from driver settings Signed-off-by: MadDogOwner <xiaoran@xrgzs.top> --------- Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
1 parent 6f80df2 commit f68f3e9

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

drivers/guangyapan/meta.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type Addition struct {
1414
VerificationID string `json:"verification_id" type:"text" help:"Auto-generated after sending SMS code; do not edit manually"`
1515
AccessToken string `json:"access_token" help:"Bearer access token (optional if refresh_token is provided)"`
1616
RefreshToken string `json:"refresh_token" help:"Refresh token for auto-login/auto-refresh"`
17-
ClientID string `json:"client_id" required:"true" help:"Client ID for GuangYaPan API, must be provided" default:"aMe-8VSlkrbQXpUR"`
17+
ClientID string `json:"client_id" required:"true" help:"Client ID for GuangYaPan API, must be provided"`
1818
DeviceID string `json:"device_id" help:"Optional custom device id (32 hex chars), auto-generated when empty"`
1919
DeviceSign string `json:"device_sign" help:"Optional custom X-Device-Sign header (generated from device_id when empty)"`
2020
PageSize int `json:"page_size" type:"number" default:"100"`
@@ -24,11 +24,6 @@ type Addition struct {
2424

2525
var config = driver.Config{
2626
Name: "GuangYaPan",
27-
LocalSort: false,
28-
OnlyProxy: false,
29-
NoCache: false,
30-
NoUpload: false,
31-
NeedMs: false,
3227
DefaultRoot: "",
3328
CheckStatus: true,
3429
Alert: "info|Two-stage SMS login: (1) fill phone_number (+ captcha_token if needed), set send_code=true and save; (2) fill verify_code and save to finish login and auto-save access_token/refresh_token.",

0 commit comments

Comments
 (0)