fix: 规范用户属性接口名称
							parent
							
								
									2d857fc6a6
								
							
						
					
					
						commit
						c3403a335f
					
				|  | @ -390,7 +390,7 @@ namespace Guru | |||
|         /// 上报用户全部的 Coin (当前值) | ||||
|         /// </summary> | ||||
|         /// <param name="coins"></param> | ||||
|         public static void SetUserCoins(int coins) | ||||
|         public static void SetUserCoin(int coins) | ||||
|         { | ||||
|             SetUserProperty(Consts.PropertyCoin, $"{coins}");         | ||||
|         } | ||||
|  | @ -399,7 +399,7 @@ namespace Guru | |||
|         /// 上报用户免费金币的 数量 (累加值) | ||||
|         /// </summary> | ||||
|         /// <param name="freeCoins"></param> | ||||
|         public static void SetUserNonIapCoins(int freeCoins) | ||||
|         public static void SetUserNonIapCoin(int freeCoins) | ||||
|         { | ||||
|             SetUserProperty(Consts.PropertyNonIAPCoin, $"{freeCoins}");         | ||||
|         } | ||||
|  | @ -408,7 +408,7 @@ namespace Guru | |||
|         /// 上报用户付费金币的 数量 (累加值) | ||||
|         /// </summary> | ||||
|         /// <param name="freeCoins"></param> | ||||
|         public static void SetUserPaidCoins(int paidCoins) | ||||
|         public static void SetUserIapCoin(int paidCoins) | ||||
|         { | ||||
|             SetUserProperty(Consts.PropertyIAPCoin, $"{paidCoins}");         | ||||
|         } | ||||
|  | @ -474,13 +474,13 @@ namespace Guru | |||
|                 SetUserProperty(Consts.PropertyDeviceID, DeviceId); // device_id | ||||
|              | ||||
|             if(!HasUserPropertyKey(Consts.PropertyIAPCoin))  | ||||
|                 SetUserPaidCoins(0); // iap_coin | ||||
|                 SetUserIapCoin(0); // iap_coin | ||||
|              | ||||
|             if(!HasUserPropertyKey(Consts.PropertyNonIAPCoin))  | ||||
|                 SetUserNonIapCoins(0); // non_iap_coin | ||||
|                 SetUserNonIapCoin(0); // non_iap_coin | ||||
|              | ||||
|             if(!HasUserPropertyKey(Consts.PropertyCoin))  | ||||
|                 SetUserCoins(0);// coin | ||||
|                 SetUserCoin(0);// coin | ||||
| 
 | ||||
|             if (!HasUserPropertyKey(Consts.PropertyGrade)) | ||||
|                 SetUserGrade(0); // grade | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue