This commit is contained in:
2018-06-28 23:37:38 +00:00
commit 4518298aaf
152 changed files with 24114 additions and 0 deletions

21
util/RfResponse.cs Normal file
View File

@@ -0,0 +1,21 @@
using System;
using System.Text;
using Microsoft.AspNetCore.Mvc;
namespace rockfishCore.Util
{
public static class RfResponse
{
public static object fail(string msg)
{
return new { error = 1, msg = msg };
}
public static object ok()
{
return new { ok = 1 };
}
}
}