This commit is contained in:
2022-10-20 17:39:17 +08:00
parent 0a81762ba1
commit 30a9279ff1
8 changed files with 134 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ class HttpInterceptor extends Interceptor {
RequestInterceptorHandler handler,
) {
// 头部添加token
// options.headers['Authorization'] = AuthService.to.userToken;
options.headers['Authorization'] = AuthService.to.userToken;
options.headers['Accept'] = 'application/json';
super.onRequest(