From 16de1a2cee8d8c6b5b5592b0c1803fbad501f169 Mon Sep 17 00:00:00 2001 From: PH2 <1293456824@qq.com> Date: Fri, 2 Apr 2021 20:30:14 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E6=B7=BB=E5=8A=A0=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E7=9A=84=E6=B8=A0=E9=81=93=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/util/turn_chain/turn_chain_util.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util/turn_chain/turn_chain_util.dart b/lib/util/turn_chain/turn_chain_util.dart index 6a5045c..837a90a 100644 --- a/lib/util/turn_chain/turn_chain_util.dart +++ b/lib/util/turn_chain/turn_chain_util.dart @@ -65,8 +65,8 @@ class TurnChainUtil { return; } - /// 2、如果是淘宝,判断是否授权 - if (provider == GlobalConfig.PROVIDER_TB && !userInfoModel.isTBAuth) { + /// 2、如果是淘宝或者天猫,判断是否授权 + if (provider == GlobalConfig.PROVIDER_TB || provider == GlobalConfig.PROVIDER_TM && !userInfoModel.isTBAuth) { TaobaoAuth.auth(context); return; }