实名认证

This commit is contained in:
张玉久
2019-12-10 18:16:52 +08:00
parent d449b1266f
commit e4ee4d9efe
9 changed files with 430 additions and 322 deletions

View File

@ -13,6 +13,7 @@ import com.gh.gamecenter.entity.ToolBoxEntity;
import com.halo.assistant.fragment.WebFragment;
import java.net.URLEncoder;
import java.util.Date;
import java.util.Locale;
import androidx.annotation.NonNull;
@ -121,7 +122,7 @@ public class WebActivity extends NormalActivity {
url = Constants.BADGE_ADDRESS;
}
url = String.format(Locale.CHINA, "%s?user_id=%s&name=%s&icon=%s", url, userId, name, URLEncoder.encode(icon));
url = String.format(Locale.CHINA, "%s?user_id=%s&name=%s&icon=%s&timestamp=%d", url, userId, name, URLEncoder.encode(icon), Math.round(new Date().getTime() / 1000));
Bundle bundle = new Bundle();
bundle.putString(EntranceUtils.KEY_URL, url);
bundle.putBoolean(WebFragment.KEY_IS_BADGE_CENTER, true);