Skip to content

Commit a3f14e3

Browse files
committed
[增加]1. 增加HTTP请求的唯一标识符的发送
1 parent 6969c3f commit a3f14e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/Scripts/Framework/Procedure/HttpHelper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ public static Dictionary<string, object> GetBaseParams()
1111
{
1212
DictionaryParams["Language"] = Application.systemLanguage.ToString();
1313
DictionaryParams["AppVersion"] = Application.version;
14+
// 设备ID用于判断白名单和其他识别用途
15+
DictionaryParams["DeviceUniqueIdentifier"] = SystemInfo.deviceUniqueIdentifier;
1416
#if UNITY_WEBGL
1517
DictionaryParams["PackageName"] = "com.smartdog.bbqgame";
1618
#if ENABLE_WECHAT_MINI_GAME

0 commit comments

Comments
 (0)