This commit is contained in:
2026-07-10 01:41:46 +08:00
parent 1ee3f41270
commit a6b9c8bbf8
8 changed files with 234 additions and 1321 deletions
+1
View File
@@ -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
}
+3
View File
@@ -108,6 +108,9 @@ namespace Assets.MyGame.Scripts.Net
/// <summary>发放奖励(GET)</summary>
Hall_DistributeRewards,
/// <summary>一键领取所有任务奖励(GET)</summary>
Hall_ReceiveAllTaskRewards,
/// <summary>获取用户战令信息(GET)</summary>
Hall_GetBattleOrder,