mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
add task
This commit is contained in:
@@ -7,7 +7,7 @@ class TokenInterceptor extends Interceptor {
|
||||
if (userInfoViewModel.token != null) {
|
||||
options.headers["Authorization"] = "Bearer " + userInfoViewModel.token!;
|
||||
}
|
||||
options.queryParameters["t"] = DateTime.now().millisecondsSinceEpoch;
|
||||
options.queryParameters["t"] = (DateTime.now().millisecondsSinceEpoch~/1000).toString();
|
||||
return handler.next(options);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user