1
This commit is contained in:
@@ -68,6 +68,7 @@ namespace Assets.MyGame.Scripts.Net
|
||||
dic_API[APIType.Hall_GetMonthCardGift] = "/api/Hall/GetMonthCardGift";
|
||||
dic_API[APIType.Hall_GetUserTaskList] = "/api/Hall/GetUserTaskList";
|
||||
dic_API[APIType.Hall_DistributeRewards] = "/api/Hall/DistributeRewards";
|
||||
dic_API[APIType.Hall_ReceiveAllTaskRewards] = "/api/Hall/ReceiveAllTaskRewards";
|
||||
|
||||
// ---------------- BattleOrder ----------------
|
||||
dic_API[APIType.Hall_GetBattleOrder] = "/api/Hall/GetBattleOrder";
|
||||
|
||||
@@ -163,7 +163,7 @@ namespace Assets.MyGame.Scripts.Net.APIRequest.Params
|
||||
[Serializable]
|
||||
public class DistributeRewardsParam : RequestParamBase
|
||||
{
|
||||
public int rewardId; // 奖励ID
|
||||
public string id; // 奖励/任务 ID
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -108,6 +108,9 @@ namespace Assets.MyGame.Scripts.Net
|
||||
/// <summary>发放奖励(GET)</summary>
|
||||
Hall_DistributeRewards,
|
||||
|
||||
/// <summary>一键领取所有任务奖励(GET)</summary>
|
||||
Hall_ReceiveAllTaskRewards,
|
||||
|
||||
/// <summary>获取用户战令信息(GET)</summary>
|
||||
Hall_GetBattleOrder,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user