From 5b2f710be83e376c858596b1ab66efa150feb3e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E7=A5=A5=E4=BF=8A?= Date: Tue, 25 Jun 2024 09:43:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20QQ=E5=B0=8F=E6=B8=B8=E6=88=8FSDK?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E2=80=94=E5=AE=A2=E6=88=B7=E7=AB=AF=20https:?= =?UTF-8?q?//jira.shanqu.cc/browse/GHZSCY-5696?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 4 +--- dependencies.gradle | 2 +- .../src/main/java/com/gh/gamecenter/qqmini/QGameHelper.kt | 6 +++++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5875ad193c..27c6aa6ba8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,7 +72,6 @@ android_build: only: - dev - release - - feature-GHZS-5775 # 代码检查 sonarqube_analysis: @@ -153,5 +152,4 @@ oss-upload&send-email: - /usr/local/bin/python /ci-android-mail-jira-comment.py only: - dev - - release - - feature-GHZS-5775 \ No newline at end of file + - release \ No newline at end of file diff --git a/dependencies.gradle b/dependencies.gradle index 81c08955b3..8cf0094b12 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -131,7 +131,7 @@ ext { csjVersion = "5.8.0.4.0" - qGameVersion = "1.70.1" + qGameVersion = "1.71.2" qGameAdVersion = "4.575.1445" blankjUtilCodex = "1.30.4" diff --git a/feature/qq_game/src/main/java/com/gh/gamecenter/qqmini/QGameHelper.kt b/feature/qq_game/src/main/java/com/gh/gamecenter/qqmini/QGameHelper.kt index 6aee3c2fa0..8885f09631 100644 --- a/feature/qq_game/src/main/java/com/gh/gamecenter/qqmini/QGameHelper.kt +++ b/feature/qq_game/src/main/java/com/gh/gamecenter/qqmini/QGameHelper.kt @@ -45,7 +45,11 @@ internal object QGameHelper { * 授权完成后设置用户帐号信息 */ fun setLoginInfo(context: Context, userId: String, userName: String, token: String) { - MiniSDK.setLoginInfo(context, AccountInfo(userId, userName, token.toByteArray()), null) + MiniSDK.setLoginInfo( + context, + AccountInfo(userId, userName, token.toByteArray()), + OpenSdkLoginManager.getOpenSdkLoginInfo(context) + ) } fun launchGame(