style: cleanup

This commit is contained in:
HuanCheng65 2023-01-27 21:00:13 +08:00
parent 91c4a6caf1
commit df98b34b32
No known key found for this signature in database
GPG Key ID: E9031EF91A805148
1 changed files with 5 additions and 7 deletions

View File

@ -171,13 +171,11 @@ object AccountUtil {
val bduss = bdussSplit[1].split(";")[0] val bduss = bdussSplit[1].split(";")[0]
val sToken = sTokenSplit[1].split(";")[0] val sToken = sTokenSplit[1].split(";")[0]
val account = getAccountInfoByBduss(bduss) val account = getAccountInfoByBduss(bduss)
if (account != null) { account.apply {
account.apply { this.sToken = sToken
this.sToken = sToken this.cookie = cookie
this.cookie = cookie }.update(account.id.toLong())
}.update(account.id.toLong()) return true
return true
}
} }
return false return false
} }