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; }