123456789101112131415 |
- import 'dart:async';
- import 'package:get/get_connect/http/src/request/request.dart';
- import 'package:get/get_connect/http/src/response/response.dart';
- import 'package:ftrecruiter/comm/utils/log_utils.dart';
- //打印响应信息
- FutureOr<dynamic> logResInterceptor(Request request, Response response) async {
- // 输出结果
- Log.d('ResponseCode: ${response.statusCode} , ResponseHeaders:${response.headers}}');
- return response;
- }
|