fix: some problems are fixed

This commit is contained in:
2026-07-05 18:40:53 +03:30
parent 5017e9a613
commit e94f03c499
16 changed files with 384 additions and 152 deletions
@@ -32,6 +32,7 @@ class AuthRepositoryImpl extends AuthRepository {
return const DataError('پاسخ نامعتبر از سرور');
}
await local.saveToken(token);
await local.saveMobile(params.mobile); // برای payloadِ خریدِ فروشگاهی
return DataSuccess(UserModel.fromJson(
Map<String, dynamic>.from(res.data['user'] as Map)));
}