优化补充
This commit is contained in:
parent
066ddf9f71
commit
2918746fda
@ -53,7 +53,9 @@ class MineSetLogic extends BaseGetXController {
|
||||
Future<void> userLogoutRequest() async {
|
||||
var getPushDeviceID = '';
|
||||
await Storage.getString(pushDeviceID).then((value) {
|
||||
getPushDeviceID = value!;
|
||||
if (value != null && value.isNotEmpty) {
|
||||
getPushDeviceID = value;
|
||||
}
|
||||
});
|
||||
LoginEntity entity =
|
||||
await ApiRepository.to.userLogout(deviceld: getPushDeviceID);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user