mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 22:42:15 +08:00
remove device offline action
This commit is contained in:
parent
a42f14f013
commit
ead6ecc218
@ -4,7 +4,7 @@
|
|||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
// You may obtain a copy of the License at
|
// You may obtain a copy of the License at
|
||||||
//
|
//
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
//
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@ -117,10 +117,9 @@ func CmdLogout() cli.Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 云端注销登录
|
// 云端注销登录
|
||||||
if _, e := activeUser.PanClient().DeviceLogout(); e != nil {
|
//if _, e := activeUser.PanClient().DeviceLogout(); e != nil {
|
||||||
fmt.Printf("登出设备失败,请稍后重试: %s\n", e.String())
|
// fmt.Printf("登出设备失败,请手动在网页端进行登出: %s\n", e.String())
|
||||||
return nil
|
//}
|
||||||
}
|
|
||||||
|
|
||||||
// 删除用户信息
|
// 删除用户信息
|
||||||
deletedUser, err := config.Config.DeleteUser(activeUser.UserId)
|
deletedUser, err := config.Config.DeleteUser(activeUser.UserId)
|
||||||
|
Loading…
Reference in New Issue
Block a user