步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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
}
}