AssetManager.API/AssetManager.Models/ApiResponse.cs
OpenClaw Agent 1977dd609d fix: 请求收益曲线时自动回填历史数据
- GetNavHistoryAsync现在会自动检查是否有历史数据
- 无历史数据时自动调用BackfillNavHistoryInternalAsync
- 拆分内部回填方法,避免重复验证权限
2026-03-13 16:21:31 +00:00

18 lines
447 B
C#
Executable File

namespace AssetManager.Models;
public class ApiResponse<T>
{
public int code { get; set; }
public T? data { get; set; }
public string? message { get; set; }
}
public static class StatusCodes
{
public const int Success = 200;
public const int BadRequest = 400;
public const int Unauthorized = 401;
public const int Forbidden = 403;
public const int NotFound = 404;
public const int InternalServerError = 500;
}