Commit f210bad7 authored by jianglx's avatar jianglx

修改邀请码逻辑,无邀请码才请求获取邀请码

parent c0a4e338
......@@ -8,8 +8,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
flavorDimensions "default"
versionCode 155
versionName "1.5.5"
versionCode 154
versionName "1.5.4"
multiDexEnabled true
......
......@@ -334,6 +334,8 @@ public class MainActivity extends BaseActivity<CommonPresenter> implements DownL
* 保存分享的code
*/
private void initShareCode() {
if (TextUtils.isEmpty(AppCookie.getStringValue("code")))
ShareInstall.getInstance().getInfo(getIntent(), info -> {
// 客户端获取到的参数是json字符串格式
LogUtil.d("ShareInstall", "info = " + info);
......
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