mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 22:42:15 +08:00
set default key string to fix issue #86
This commit is contained in:
parent
85c9cf0ecb
commit
f6bdb4ae60
@ -50,6 +50,10 @@ func NewLoginHelper(webHost string) *LoginHelper {
|
||||
func (h *LoginHelper) GetQRCodeLoginUrl(keyStr string) (*QRCodeUrlResult, error) {
|
||||
if keyStr == "" {
|
||||
keyStr = ids.GetUniqueId("", 32)
|
||||
if len(keyStr) == 0 || keyStr == "" {
|
||||
// default
|
||||
keyStr = "AE8627B0296A4126A1434999C45ECAB2"
|
||||
}
|
||||
}
|
||||
fullUrl := strings.Builder{}
|
||||
ipAddr, err := getip.IPInfoFromTechainBaidu()
|
||||
|
Loading…
Reference in New Issue
Block a user