|
@@ -42,12 +42,12 @@ namespace TEAMModelOS.SDK.DI
|
|
|
/// 超时时间
|
|
|
/// </summary>
|
|
|
private const int timeoutSeconds = 86400;
|
|
|
- public static int RU(this Response response)
|
|
|
+ public static double RU(this Response response)
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
response.Headers.TryGetValue("x-ms-request-charge", out var value);
|
|
|
- var ru = Convert.ToInt32(value);
|
|
|
+ var ru = Convert.ToDouble(value);
|
|
|
return ru;
|
|
|
}
|
|
|
catch (Exception)
|