update
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user