每日自动提交 2026-04-11 18:30
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4d742a3f43b0677428e8aac46937d56d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,7 +1,9 @@
|
||||
using Assets.MyGame.Scripts.Net.APIRequest.Objs;
|
||||
using Assets.MyGame.Scripts.Net.APIRequest.Params;
|
||||
using Assets.MyGame.Scripts.Net.APIResponses.HomeMain_User;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net
|
||||
{
|
||||
@@ -14,9 +16,9 @@ namespace Assets.MyGame.Scripts.Net
|
||||
/// 参数:keyWord / pageIndex / pageSize / readStatus
|
||||
/// 返回:GetEmailByPageResponse(邮件列表,分页)
|
||||
/// </summary>
|
||||
public static void GetEmailByPage(GetEmailByPageObj req, Action<GetEmailByPageResponse> callback)
|
||||
public static void GetEmailByPage(GetEmailByPageObj req, Action<List<GetEmailByPageResponse>> callback)
|
||||
{
|
||||
APIManager.Response<GetEmailByPageResponse>(APIType.User_GetEmailByPage, req, callback);
|
||||
APIManager.Response<List<GetEmailByPageResponse>>(APIType.User_GetEmailByPage, req, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -34,9 +36,9 @@ namespace Assets.MyGame.Scripts.Net
|
||||
/// 参数:邮件 id (Param)
|
||||
/// 返回:string(结果提示)
|
||||
/// </summary>
|
||||
public static void RewardEmail(RewardEmailParam req, Action<string> callback)
|
||||
public static void RewardEmail(RewardEmailParam req, Action<JObject> callback)
|
||||
{
|
||||
APIManager.Response<string>(APIType.User_RewardEmail, req, callback);
|
||||
APIManager.Response<JObject>(APIType.User_RewardEmail, req, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -44,18 +46,18 @@ namespace Assets.MyGame.Scripts.Net
|
||||
/// 参数:邮件 id (Param)
|
||||
/// 返回:string(结果提示)
|
||||
/// </summary>
|
||||
public static void DeleteEmail(DeleteEmailParam req, Action<string> callback)
|
||||
public static void DeleteEmail(DeleteEmailParam req, Action<JObject> callback)
|
||||
{
|
||||
APIManager.Response<string>(APIType.User_DeleteEmail, req, callback);
|
||||
APIManager.Response<JObject>(APIType.User_DeleteEmail, req, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 一键阅读所有未读邮件(GET,无参)
|
||||
/// 返回:string(结果提示)
|
||||
/// </summary>
|
||||
public static void ReadEmailMore(Action<string> callback)
|
||||
public static void ReadEmailMore(Action<JObject> callback)
|
||||
{
|
||||
APIManager.Response<string>(APIType.User_ReadEmailMore, callback);
|
||||
APIManager.Response<JObject>(APIType.User_ReadEmailMore, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user