步步为盈

26 lines
539 B

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