Browse Source

1.修复第三方活动在登录的情况拿不到uid的问题

tags/0.0.16+7
“yanghuaxuan” 3 years ago
parent
commit
6842b4d4c8
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      lib/util/router_util.dart

+ 3
- 0
lib/util/router_util.dart View File

@@ -102,6 +102,9 @@ class RouterUtil {
SkipModel model = SkipModel(); SkipModel model = SkipModel();
model.skipIdentifier = 'pub.flutter.url'; model.skipIdentifier = 'pub.flutter.url';
model.url = url; model.url = url;
if(model.url.contains("official/redirect_url")){
model.url=model.url+"&zuid="+(UserInfoNotifier?.staitcUserInfo?.userId??"");
}


Application.doStringParamsMethod("openUrl", data: {"url": model.url}); Application.doStringParamsMethod("openUrl", data: {"url": model.url});
return null; return null;


Loading…
Cancel
Save