From 3bfa00d5d2f59990e4a213573cd9e0b9aec863ba Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Fri, 9 Jun 2023 23:33:12 +0800 Subject: [PATCH] fix(189pc): add `REQID` header --- drivers/189pc/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/189pc/utils.go b/drivers/189pc/utils.go index 3472f82d..af1f1505 100644 --- a/drivers/189pc/utils.go +++ b/drivers/189pc/utils.go @@ -352,6 +352,7 @@ func (y *Cloud189PC) initLoginParam() error { // 判断是否需要验证码 resp, err := y.client.R(). + SetHeader("REQID", param.ReqId). SetFormData(map[string]string{ "appKey": APP_ID, "accountType": ACCOUNT_TYPE,