Commit 1734d4e0 authored by tongzifang's avatar tongzifang

update boost

parent 5ec9f376
......@@ -185,11 +185,11 @@ packages:
dependency: transitive
description:
path: "."
ref: "4.2.2"
resolved-ref: "2e65cd6ebccd727c89d1a134175d724e5005a414"
ref: "4.5.7"
resolved-ref: ad581ac33ec976a2531306f61c1d53e7b2e29c41
url: "https://github.com/alibaba/flutter_boost.git"
source: git
version: "3.0.0"
version: "4.5.7"
flutter_cache_manager:
dependency: transitive
description:
......
import 'dart:io';
import 'package:base_data_channel/config/business_type.dart';
import 'package:base_data_channel/http/qmai_host.dart';
import 'package:dio/dio.dart';
......@@ -24,6 +26,12 @@ class HeaderInterceptor extends Interceptor {
'Qm-Account-Token': userToken,
'Qm-seller-Token': userTokenNew,
'Qm-From': 'android',
'qm-channel': 'app',
'qm-device': Platform.isAndroid
? "android"
: Platform.isIOS
? "iOS"
: "other",
};
options.headers.addAll(dictionary);
if (SpUtil.getString('businessType') == BusinessType.MealMate.type &&
......
......@@ -57,5 +57,5 @@ dependencies:
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: '4.2.2'
ref: '4.5.7'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment