@@ -20,8 +20,8 @@ android { |
||
20 | 20 |
applicationId "ai.pai.lensman" |
21 | 21 |
minSdkVersion MIN_SDK_VERSION as int |
22 | 22 |
targetSdkVersion TARGET_SDK_VERSION as int |
23 |
- versionCode 1022 |
|
24 |
- versionName "1.0.22" |
|
23 |
+ versionCode 1024 |
|
24 |
+ versionName "1.0.24" |
|
25 | 25 |
buildConfigField "boolean", "isTestMode", "true" |
26 | 26 |
manifestPlaceholders = [CHANNEL_NAME: "guanwang"] |
27 | 27 |
} |
@@ -10,6 +10,7 @@ import com.android.common.utils.DeviceUtils; |
||
10 | 10 |
|
11 | 11 |
import ai.pai.lensman.R; |
12 | 12 |
import ai.pai.lensman.base.BaseActivity; |
13 |
+import ai.pai.lensman.db.Preferences; |
|
13 | 14 |
import ai.pai.lensman.qrcode.QRCreateUtils; |
14 | 15 |
import ai.pai.lensman.utils.SystemUtils; |
15 | 16 |
import butterknife.BindView; |
@@ -43,7 +44,7 @@ public class SessionQRCodeActivity extends BaseActivity { |
||
43 | 44 |
} |
44 | 45 |
|
45 | 46 |
try{ |
46 |
- qrCodeImg.setImageBitmap(QRCreateUtils.Create2DCode("http://pai.ai/s/"+qrcode, |
|
47 |
+ qrCodeImg.setImageBitmap(QRCreateUtils.Create2DCode("http://pai.ai/s/"+qrcode+"?lensman_id="+ Preferences.getInstance().getLensManId(), |
|
47 | 48 |
DeviceUtils.dip2px(this,280))); |
48 | 49 |
}catch (Exception e){ |
49 | 50 |
e.printStackTrace(); |