remove database(no need mongodb anymore)

This commit is contained in:
moux23333
2024-01-28 11:28:52 +08:00
parent 0641d6b596
commit caf71ca841
30 changed files with 10 additions and 710 deletions

View File

@@ -1,17 +1,16 @@
namespace FreeSR.Dispatch.Util
{
using FreeSR.Database.Account.Model;
using Newtonsoft.Json.Linq;
internal static class DispatchHelper
{
public static JObject ToLoginResponseData(this AccountModel model)
public static JObject ToLoginResponseData()
{
return new JObject
{
{"uid", model.Uid},
{"name", model.Name},
{"email", "reversedrooms"},
{"uid", 1337},
{"name", "reversedrooms"},
{"email", "reversedrooms@mihomo.com"},
{"mobile", ""},
{"is_email_verify", "0"},
{"realname", ""},
@@ -31,7 +30,7 @@
{"steam_name", ""},
{"unmasked_email", ""},
{"unmasked_email_type", 0},
{"token", model.Token}
{"token", "FreesrToken"}
};
}
}