步步为盈

26 lines
539 B

using Newtonsoft.Json;
using System.Runtime.InteropServices;
namespace PJZS
{
[ClassInterface(ClassInterfaceType.AutoDual)]
[ComVisible(true)]
public class GlobalContext
{
public User User { get; set; }
public string UserToken { get; set; }
#region APIHost
public string BBYWApiHost { get; set; }
public string MDSApiHost { get; set; }
#endregion
public string GetUserString()
{
return JsonConvert.SerializeObject(User);
}
}
}