chore: runtime version

oneRain 2021-03-19 14:45:29 +08:00
parent 33f267a40e
commit b8de05e867
1 changed files with 3 additions and 2 deletions

View File

@ -1,11 +1,12 @@
using System.Collections.Generic; using System;
using System.Collections.Generic;
namespace LeanCloud.Engine { namespace LeanCloud.Engine {
public class LCPingHandler { public class LCPingHandler {
public static object HandlePing() { public static object HandlePing() {
LCLogger.Debug("Ping ~~~"); LCLogger.Debug("Ping ~~~");
return new Dictionary<string, string> { return new Dictionary<string, string> {
{ "runtime", "dotnet-3.1" }, { "runtime", $"dotnet-{Environment.Version}" },
{ "version", LCApplication.SDKVersion } { "version", LCApplication.SDKVersion }
}; };
} }