This repository has been archived on 2024-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
FreeSR/FreeSR.Dispatch/Util/DispatchHelper.cs

39 lines
1.2 KiB
C#
Raw Normal View History

2024-01-27 13:06:07 +00:00
namespace FreeSR.Dispatch.Util
{
using FreeSR.Database.Account.Model;
using Newtonsoft.Json.Linq;
internal static class DispatchHelper
{
public static JObject ToLoginResponseData(this AccountModel model)
{
return new JObject
{
{"uid", model.Uid},
{"name", model.Name},
2024-01-27 13:08:24 +00:00
{"email", "reversedrooms"},
2024-01-27 13:06:07 +00:00
{"mobile", ""},
{"is_email_verify", "0"},
{"realname", ""},
{"identity_card", ""},
{"safe_mobile", ""},
{"facebook_name", ""},
{"google_name", ""},
{"twitter_name", ""},
{"game_center_name", ""},
{"apple_name", ""},
{"sony_name", ""},
{"tap_name", ""},
{"country", "CN"},
{"reactivate_ticket", ""},
{"area_code", "**"},
{"device_grant_ticket", ""},
{"steam_name", ""},
{"unmasked_email", ""},
{"unmasked_email_type", 0},
{"token", model.Token}
};
}
}
}